Hello, My animation event window looks like this.
And here are my event functions:
void AnimEvent(int num){
Debug.Log("Num "+num);
}
void AnimEvent(string str){
Debug.Log("Str "+str);
}
However, the game only prints out Num 0 every time.
If I remove the int function, then the string works fine, but as long as the int function exists, it ONLY sends the event to the int. Am I doing something wrong here?
(Note, I will soon need the int function for other animations, so I can’t just remove it)