i wanna add my method that i have on my script at Gamecontroller object, but when i add an event inside the animation it doesnt show the method i needed just a lot of function from unity itself, like this:
I also had a similar problem. But it turned out that the function prototype must meet certain requirements. Help link: Unity - Scripting API: AnimationEvent
The method must be public.
Animation events support method that take zero or one parameter. Two or three parameters you can’t do !!!
The parameter can be a float, an int, a string, an object reference, or an AnimationEvent. For example, a parameter cannot be of type bool or byte !!!
Why and why such strange restrictions are made is not clear…
Probably religion does not allow to do it normally…