playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Check out our
Chat Channel
!
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Subscribing to a function in a custom action
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Subscribing to a function in a custom action (Read 446 times)
miguelfanclub
Full Member
Posts: 165
Subscribing to a function in a custom action
«
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!
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: Subscribing to a function in a custom action
«
Reply #1 on:
January 17, 2022, 09:52:34 AM »
hi.
try unsubscribe in :
Code:
[Select]
public override void OnExit()
Logged
Join the PlayMaker Discord Channel!
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Subscribing to a function in a custom action