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 all close all

Basic Examples  (2)

Load the UnityLink:

In[1]:=
Click for copyable input

Open a Unity project:

In[2]:=
Click for copyable input

Pause the Unity editor:

In[1]:=
Click for copyable input

Start Play mode:

In[2]:=
Click for copyable input

Step through frames manually:

In[3]:=
Click for copyable input

Stop Play mode:

In[4]:=
Click for copyable input

Properties & Relations  (2)