UnityLink`
UnityLink`

DeleteUnityConstantForce2D

DeleteUnityConstantForce2D [comp]

deletes the Unity 2D constant force component comp.

DeleteUnityConstantForce2D [obj]

deletes the Unity 2D constant force component attached to the UnityGameObject obj.

DeleteUnityConstantForce2D ["name"]

deletes the Unity 2D constant force component with the specified name.

Details

Examples

open allclose all

Basic Examples  (1)

Load the package and open a project:

Create a Unity 2D constant force component:

Delete a Unity 2D constant force component:

Possible Issues  (1)

A 2D constant force cannot be accessed after deletion:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2022_deleteunityconstantforce2d, author="Wolfram Research", title="{DeleteUnityConstantForce2D}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityConstantForce2D.html}", note=[Accessed: 13-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2022_deleteunityconstantforce2d, organization={Wolfram Research}, title={DeleteUnityConstantForce2D}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityConstantForce2D.html}, note=[Accessed: 13-March-2025 ]}