UnityLink`
UnityLink`

UnityPause

UnityPause[]

pauses the Unity editor.

更多信息

  • 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.

范例

打开所有单元关闭所有单元

基本范例  (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)

$UnityIsPaused can be set to True to pause the Unity editor:

$UnityIsPaused can be set to False to unpause the Unity editor:

Toggle pause from the Unity menu:

Wolfram Research (2019),UnityPause,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/UnityPause.html.

文本

Wolfram Research (2019),UnityPause,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/UnityPause.html.

CMS

Wolfram 语言. 2019. "UnityPause." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/UnityPause.html.

APA

Wolfram 语言. (2019). UnityPause. Wolfram 语言与系统参考资料中心. 追溯自 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: 21-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: 21-December-2024 ]}