DeleteUnityBuoyancyEffector2D
deletes the Unity 2D buoyancy effector component comp.
deletes the Unity 2D buoyancy effector component attached to the UnityGameObject obj.
deletes the Unity 2D buoyancy effector component with the specified name.
Details
- DeleteUnityBuoyancyEffector2D destroys the Unity 2D buoyancy effector component, and releases all references to it.
- DeleteUnityBuoyancyEffector2D[All] destroys all the 2D buoyancy effector components in the current scene.
- DeleteUnityBuoyancyEffector2D is Listable.
Examples
open allclose allBasic Examples (1)
Possible Issues (1)
A UnityBuoyancyEffector2D cannot be accessed after deletion:
Text
Wolfram Research (2019), DeleteUnityBuoyancyEffector2D, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityBuoyancyEffector2D.html.
CMS
Wolfram Language. 2019. "DeleteUnityBuoyancyEffector2D." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityBuoyancyEffector2D.html.
APA
Wolfram Language. (2019). DeleteUnityBuoyancyEffector2D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityBuoyancyEffector2D.html