deletes the Unity slider component comp.
deletes the Unity slider component attached to the UnityGameObject obj.
deletes the Unity slider component with the specified name.


DeleteUnitySlider
deletes the Unity slider component comp.
deletes the Unity slider component attached to the UnityGameObject obj.
deletes the Unity slider component with the specified name.
Details and Options
- DeleteUnitySlider destroys the Unity slider component, and releases all references to it.
- DeleteUnitySlider[All] destroys all the slider components in the current scene.
- DeleteUnitySlider is Listable.
Examples
open all close allBasic Examples (1)
Possible Issues (1)
A UnitySlider cannot be accessed after deletion:

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