Pause/resume system by setting timescale.
None
State : Run
Event : go to state Pause
Action:Toggle pause, or Action:Set pause state with parameter State to PauseState Transition : Run to Pause
Store current timescale
Expression:PreTimescaleSet timescale to 0
Trigger Condition:On pause
State : Pause
Event : go to state Run
Action:Toggle pause, or Action:Set pause state with parameter State to RunState Transition : Pause to Run
Expression:PreTimescaleCondition:On resume