UnityLink`
UnityLink`

DeleteUnityText

DeleteUnityText [comp]

deletes the Unity text component comp.

DeleteUnityText [obj]

deletes the Unity text component attached to the UnityGameObject obj.

DeleteUnityText ["name"]

deletes the Unity text component with the specified name.

Details

Examples

open allclose all

Basic Examples  (1)

Load the package and open a project:

Create a Unity text component:

Delete a Unity text component:

Possible Issues  (1)

A UnityText cannot be accessed after deletion:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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