Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: Quique on November 23, 2019, 02:54:42 PM

Title: Automatic generatio n of code callbacks
Post by: Quique on November 23, 2019, 02:54:42 PM
Hi, I'm principally coder, but I've already been using Playmaker in a couple of projects and I begin to feel comfortable by using the best of every approach. Previously I used to make my own FSMs with Unity's animator. I remember that it was possible to add state machine behaviors from the inspector.
https://docs.unity3d.com/ScriptReference/StateMachineBehaviour.html (https://docs.unity3d.com/ScriptReference/StateMachineBehaviour.html)
I made use of this quite often and actually I'm doing it somehow similar now to connect my FSM to the scripts.
Would you consider to integrate an option to generate callbacks in c# code in a straightforward way?
Cheers.
Title: Re: Automatic generatio n of code callbacks
Post by: jeanfabre on November 25, 2019, 01:08:25 AM
Hi,

 I think this is what you need to catch any kind of callback from unity: https://hutonggames.com/playmakerforum/index.php?topic=11172.0

Is that what you are after?

else, we also have "Animator proxies" on the ecosystem which will give you some scripts to catch these events.


Bye,

 Jean
Title: Re: Automatic generatio n of code callbacks
Post by: Quique on December 11, 2019, 02:51:04 AM
Wow!! it is exactly what I wanted.
I haven't really dug into the ecosystem but definitely  I should.
Thanks
Title: Re: Automatic generatio n of code callbacks
Post by: jeanfabre on December 12, 2019, 06:59:15 AM
Hi,

 the ecosystem is a must, always make sure you search the ecosystem for custom actions and if you don't find, ask on the forum, maybe there is, but the keywords did not lead to any results.

Bye,

 Jean