Make the animator come from its object

As if the object would be initialized, hah
This commit is contained in:
blank3times 2024-01-26 00:01:35 -08:00
parent 117ae9443e
commit 0bbae27e84

View file

@ -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)