UnityLink`
UnityLink`

DeleteUnityRigidbody

DeleteUnityRigidbody[comp]

delete the UnityRigidbody comp.

DeleteUnityRigidbody[obj]

delete the Unity rigidbody component attached to the UnityGameObject obj.

DeleteUnityRigidbody["name"]

delete the Unity rigidbody component with the specified name.

更多信息

  • DeleteUnityRigidbody destroys the Unity rigidbody component, and releases any references to it.
  • DeleteUnityRigidbody[All] destroys all the rigidbody components in the current scene.
  • DeleteUnityRigidbody is Listable.

范例

基本范例  (2)

Load Unity Link:

Open a project:

Delete a rigidbody component:

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

文本

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

CMS

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

APA

Wolfram 语言. (2019). DeleteUnityRigidbody. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityRigidbody.html 年

BibTeX

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

BibLaTeX

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