Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: richicon on March 21, 2013, 02:43:37 PM
-
Hi
I've noticed that if I have more then 1 FSM on an object I can no longer add a SendEvent to an animation. I've worked around this by writing a C# script to forward the events for me, however I was wondering if there is an official way to get around this?
I did try putting FSM's into a child object, but this got very messy as most wanted to access the root object and I had to go through redirecting a lot of 'Owner objects'
thanks
-
Hi,
I am not getting this. What do you mean by "sendEvent to an animation"?
bye,
Jean
-
I think he means that you can no longer choose animation event functions in the dropdown menu if a gameobject has more than 1 FSM.
-
Yeah, this is a limitation in the Unity UI - if there's more than one of a specific MonoBehavior type on the GameObject the Animation editor no longer shows that MonoBehavior's methods in the event dropdown.
We should be able to make some kind of generic event forwarding script, but I haven't had time to really look into it yet... Maybe Jean can look into it ;)