0 votes
asked in General Help by

Hello,

I try to make animation for my character pick up something. I have a problem with Animation events, i don't find where the script need to be. I try too write a new script and put in my animate charactere but i didn't find my functions in search options. 

Best regards,

Thomas

Edit : my script work but i have still a warning in my aniamation event 

1 Answer

0 votes
answered by Expert (148k points)
selected ago by
 
Best answer

Hi Somath,
thank you very much for your support request.

Please refer to this video tutorial regarding animation events: (8) Animation Events - UMotion Official Tutorials

Just add a script to your GameObject with a function e.g. "void MyAnimationEvent()". Create a new animation event using the "Add Animation Event" button and select the "MyAnimationEvent()" method from the list. You can also just type in "MyAnimationEvent" name into the text box in case UMotion can't find the method (this can happen if your script has not been compiled yet because it has some syntax errors).

In case you get a warning icon in that dialog, hover with the mouse over that icon to get a more detailed warning message as a tool-tip.

Please let me know if you have any follow-up questions.

Best regards,
Peter

Soxware Support

Here you get official product support by the developer and the community for all Soxware Products for Unity®.

Post as guest, login via Facebook or create an account.

Ask questions, report bugs or provide feedback. Please use the correct category and always post in english.

For private email support, please use the Support Form to create a support ticket.

Copyright © 2017 Soxware Interactive | All Rights Reserved | Impressum

...