UnityLink`
UnityLink`

UnityPause

UnityPause[]

pauses the Unity editor.

Details

  • Pausing the Unity editor while in Play mode will pause the frame update cycle. This allows new frames to be stepped through manually using UnityStep.
  • UnityPause returns Null if it successfully paused the Unity editor, $Failed if it did not.
  • The Unity editor can be paused before starting Play mode.

Examples

open allclose all

Basic Examples  (2)

Load the UnityLink:

Open a Unity project:

Pause the Unity editor:

Start Play mode:

Step through frames manually:

Stop Play mode:

Properties & Relations  (2)

UnityCurrentValue can be used to pause the Unity editor:

UnityCurrentValue can be used to resume the Unity editor:

Toggle pause from the Unity menu: