deletes the Unity 2D area effector component comp.
deletes the Unity 2D area effector component attached to the UnityGameObject obj.
deletes the Unity 2D area effector component with the specified name.


DeleteUnityAreaEffector2D
deletes the Unity 2D area effector component comp.
deletes the Unity 2D area effector component attached to the UnityGameObject obj.
deletes the Unity 2D area effector component with the specified name.
Details and Options
- DeleteUnityAreaEffector2D destroys the Unity 2D area effector component, and releases all references to it.
- DeleteUnityAreaEffector2D[All] destroys all the 2D area effector components in the current scene.
- DeleteUnityAreaEffector2D is Listable.
Examples
open all close allPossible Issues (1)
A UnityAreaEffector2D cannot be accessed after deletion:

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