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:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2022_unitypause, author="Wolfram Research", title="{UnityPause}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/UnityPause.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2022_unitypause, organization={Wolfram Research}, title={UnityPause}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/UnityPause.html}, note=[Accessed: 22-December-2024 ]}