playMaker

Author Topic: Automatic generatio n of code callbacks  (Read 1866 times)

Quique

  • Playmaker Newbie
  • *
  • Posts: 2
Automatic generatio n of code callbacks
« 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
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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Automatic generatio n of code callbacks
« Reply #1 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

Quique

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Automatic generatio n of code callbacks
« Reply #2 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Automatic generatio n of code callbacks
« Reply #3 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