Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: miguelfanclub on January 17, 2022, 08:03:01 AM

Title: Subscribing to a function in a custom action
Post by: miguelfanclub on January 17, 2022, 08:03:01 AM
Do subscriptions to functions in custom actions remain if the state finished?
Should I unsubscribe before finishing? is it not recommended?

I am doing it to avoid heavy update cycles when state action is called.

thanks!
Title: Re: Subscribing to a function in a custom action
Post by: djaydino on January 17, 2022, 09:52:34 AM
hi.
try unsubscribe in :

Code: [Select]
     public override void OnExit()