UnityLink`
UnityLink`

UnityStep

UnityStep[]

executes an update cycle while the Unity editor is paused.

UnityStep[n]

executes n update cycles in a row.

Details

  • Unity has an update cycle that is executed each frame. These cycles can be stepped through one at a time while the Unity editor is both in Play mode and paused.
  • UnityPause returns Null if it successfully executed the update cycle, $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  (1)

Take one step from the Unity menu: