WOLFRAM

DeleteUnityButton [comp]

deletes the Unity button component comp.

DeleteUnityButton [obj]

deletes the Unity button component attached to the UnityGameObject obj.

DeleteUnityButton ["name"]

deletes the Unity button component with the specified name.

Details

Examples

open allclose all

Basic Examples  (1)Summary of the most common use cases

Load the package and open a project:

Create a Unity button component:

Out[3]=3

Delete a Unity button component:

Possible Issues  (1)Common pitfalls and unexpected behavior

A UnityButton cannot be accessed after deletion:

Out[1]=1
Out[3]=3
Wolfram Research (2019), DeleteUnityButton, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityButton.html.
Wolfram Research (2019), DeleteUnityButton, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityButton.html.

Text

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

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

CMS

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

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

APA

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

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

BibTeX

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

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

BibLaTeX

@online{reference.wolfram_2022_deleteunitybutton, organization={Wolfram Research}, title={DeleteUnityButton}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityButton.html}, note=[Accessed: 12-January-2025 ]}

@online{reference.wolfram_2022_deleteunitybutton, organization={Wolfram Research}, title={DeleteUnityButton}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityButton.html}, note=[Accessed: 12-January-2025 ]}