Make the animator come from its object
As if the object would be initialized, hah
This commit is contained in:
parent
117ae9443e
commit
0bbae27e84
|
@ -56,7 +56,7 @@ namespace HeavenStudio.Games
|
||||||
void Awake()
|
void Awake()
|
||||||
{
|
{
|
||||||
HoleInOne.instance = this;
|
HoleInOne.instance = this;
|
||||||
MonkeyAnimator = GetComponent<Animator>();
|
MonkeyAnimator = Monkey.GetComponent<Animator>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DoTestAnim(double beat)
|
public void DoTestAnim(double beat)
|
||||||
|
|
Loading…
Reference in a new issue