PlayMaker Help & Tips > PlayMaker Help
How to "RePlay" all components of the GameObject upon ReActivation?[SOLVED]
(1/1)
Neikke:
Hey guys,
how do I force replaying all of the components/scripts that are on the gameobject when object is ReActivated after being DeActivated by the action?
I have a few objects in a scene that I just Activate and Deactivate from time to time, and each time they're getting ReActivated - I want them to perform everything they do when I'm entering Runtime. Is it possible?
djaydino:
Hi.
Disabling/enabling fsms/game objects will restart the fsm (unless changed in the fsm settings)
but it will not refresh its values.
to do this use set int/float/etc Value. @ the 1st state and set the default values there.
Neikke:
This sounds good! 👍 Thanks for this info!
Navigation
[0] Message Index
Go to full version