Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: richicon on March 21, 2013, 02:43:37 PM

Title: Can't Send Animation event if more then 1 FSM
Post 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
Title: Re: Can't Send Animation event if more then 1 FSM
Post by: jeanfabre on May 17, 2013, 02:25:06 AM
Hi,

 I am not getting this. What do you mean by "sendEvent to an animation"?

bye,

 Jean
Title: Re: Can't Send Animation event if more then 1 FSM
Post by: bentarthur on May 31, 2014, 10:34:19 PM
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.
Title: Re: Can't Send Animation event if more then 1 FSM
Post by: Alex Chouls on June 03, 2014, 10:49:33 PM
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 ;)