DeleteUnityEventSystem
deletes the Unity event system component comp.
deletes the Unity event system component attached to the UnityGameObject obj.
deletes the Unity event system component with the specified name.
Details
- DeleteUnityEventSystem destroys the Unity event system component, and releases all references to it.
- DeleteUnityEventSystem[All] destroys all the event system components in the current scene.
- DeleteUnityEventSystem is Listable.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Load the package and open a project:

https://wolfram.com/xid/0vt5c1zy07cmb1e67m3gmua-yj1drt

https://wolfram.com/xid/0vt5c1zy07cmb1e67m3gmua-0ggby4
Create a Unity event system component:

https://wolfram.com/xid/0vt5c1zy07cmb1e67m3gmua-z8r6tu

Delete a Unity event system component:

https://wolfram.com/xid/0vt5c1zy07cmb1e67m3gmua-lqhihh
Possible Issues (1)Common pitfalls and unexpected behavior
A UnityEventSystem cannot be accessed after deletion:

https://wolfram.com/xid/0vt5c1zy07cmb1e67m3gmua-qfg4jm


https://wolfram.com/xid/0vt5c1zy07cmb1e67m3gmua-ji5ikx

https://wolfram.com/xid/0vt5c1zy07cmb1e67m3gmua-yh8es3


Wolfram Research (2019), DeleteUnityEventSystem, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityEventSystem.html.
Text
Wolfram Research (2019), DeleteUnityEventSystem, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityEventSystem.html.
Wolfram Research (2019), DeleteUnityEventSystem, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityEventSystem.html.
CMS
Wolfram Language. 2019. "DeleteUnityEventSystem." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityEventSystem.html.
Wolfram Language. 2019. "DeleteUnityEventSystem." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityEventSystem.html.
APA
Wolfram Language. (2019). DeleteUnityEventSystem. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityEventSystem.html
Wolfram Language. (2019). DeleteUnityEventSystem. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityEventSystem.html
BibTeX
@misc{reference.wolfram_2022_deleteunityeventsystem, author="Wolfram Research", title="{DeleteUnityEventSystem}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityEventSystem.html}", note=[Accessed: 05-April-2025
]}
BibLaTeX
@online{reference.wolfram_2022_deleteunityeventsystem, organization={Wolfram Research}, title={DeleteUnityEventSystem}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityEventSystem.html}, note=[Accessed: 05-April-2025
]}