playMaker

Author Topic: Can a playmaker state listen for a Monobehavior event like OnDestroy?  (Read 1750 times)

mn6000

  • Playmaker Newbie
  • *
  • Posts: 17
I have a state which I'd like to run when the parent game object of the fsm runs it's OnDestroy event. I'm not sure exactly how to do this without having the monobehaviour fire the event directly to the fsm. Is there a way to add an fsm to listen to the event?

Thank you.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Can a playmaker state listen for a Monobehavior event like OnDestroy?
« Reply #2 on: April 17, 2018, 03:50:15 AM »
Hi

Alex i think you pasted the wrong thread (its sends back to this thread :) )

Maybe you wanted to refer to this thread? :
http://hutonggames.com/playmakerforum/index.php?topic=18636.msg80887#msg80887