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:

Wolfram Research (2019), UnityStep, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityStep.html.

Text

Wolfram Research (2019), UnityStep, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityStep.html.

BibTeX

@misc{reference.wolfram_2021_unitystep, author="Wolfram Research", title="{UnityStep}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/UnityStep.html}", note=[Accessed: 23-September-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_unitystep, organization={Wolfram Research}, title={UnityStep}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/UnityStep.html}, note=[Accessed: 23-September-2021 ]}

CMS

Wolfram Language. 2019. "UnityStep." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/UnityStep.html.

APA

Wolfram Language. (2019). UnityStep. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/UnityStep.html