Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: TeMatoLoco on August 03, 2022, 02:15:25 PM
-
Hi Playmaker Team!
I've been trying to make some Animation Events work and all the tuts I have followed show that it should work if the Animation Event is set to SendEvent(String)...
However when I go to set this, Unity shows this as the Animation Event in the Inspector (See Attachment)
Ultimately, I can't seem to find how to change it to SendEvent(String)?
I've also tried using the 'Function' and 'String' parameters with no luck...
-
Hello,
I used to have the problem, fixed it by doing;
1. Make sure you have an Animator component on your object (and set the proper controller into the first field ofc)
2. Make sure your Animation clip is present in your Animator controller tree window
3. Make sure your have an Playmaker FSM (even empty) on your object
Then all the available events should appear when clicking on a animation event in the animation tab.
Hope it helps
-
Hi.
in addition to 8bitbrainpower post.
You also need to have the Game Object select in the hierarchy, then select the animation in the animation list on the animation window.
if you select the animation directly from the project window it will not show.