Hello,
Could please somebody hint how to make a boolean/case for activated/deactivated object? In a single FSM I'd like to have several cases where depending on the current activated in the scene a different state to be executed.
Example:
We have Object1, Object2, Object3 and etc.
In the FSM attached to other always active object:
If Object1 is currently active -> go to State1
If Object2 is currently active -> go to State2
...
given that only one object could be active at a time.
I guess I should start with storing the active object in a variable?
Thank you.