Sorry about that . I completely forgotten Delegate,my mistake Bu I have 2 event point in animation and I try this
animator.EventTriggered += e => ActiveObject();
animator.EventTriggered += e => DeActiveObject();
In unity, I see two functions same time but I want to see this two func. in different time.For Example in 100th Frame I must see ActiveObject func. ,1600th frame ,I must see DeActiveObject func.In the inspector I can see different Id but I don't understandt how can ı use them
another an questions I have 2 animations ,first animations have 2 event and second animationd has 1 event .How can I set this event my 3 functions ?
Thank you for answer
Sorry about my bad english