DeleteUnityScrollRect
deletes the Unity scroll rect component comp.
deletes the Unity scroll rect component attached to the UnityGameObject obj.
deletes the Unity scroll rect component with the specified name.
Details
- DeleteUnityScrollRect destroys the Unity scroll rect component, and releases all references to it.
- DeleteUnityScrollRect[All] destroys all the scroll rect components in the current scene.
- DeleteUnityScrollRect 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/0bytxt5yv7d1fqmbnbvcb5irdgp-yj1drt
https://wolfram.com/xid/0bytxt5yv7d1fqmbnbvcb5irdgp-0ggby4
Create a Unity scroll rect component:
https://wolfram.com/xid/0bytxt5yv7d1fqmbnbvcb5irdgp-z8r6tu
Delete a Unity scroll rect component:
https://wolfram.com/xid/0bytxt5yv7d1fqmbnbvcb5irdgp-lqhihh
Possible Issues (1)Common pitfalls and unexpected behavior
A UnityScrollRect cannot be accessed after deletion:
https://wolfram.com/xid/0bytxt5yv7d1fqmbnbvcb5irdgp-qfg4jm
https://wolfram.com/xid/0bytxt5yv7d1fqmbnbvcb5irdgp-ji5ikx
https://wolfram.com/xid/0bytxt5yv7d1fqmbnbvcb5irdgp-yh8es3
Wolfram Research (2019), DeleteUnityScrollRect, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollRect.html.
Text
Wolfram Research (2019), DeleteUnityScrollRect, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollRect.html.
Wolfram Research (2019), DeleteUnityScrollRect, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollRect.html.
CMS
Wolfram Language. 2019. "DeleteUnityScrollRect." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollRect.html.
Wolfram Language. 2019. "DeleteUnityScrollRect." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollRect.html.
APA
Wolfram Language. (2019). DeleteUnityScrollRect. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollRect.html
Wolfram Language. (2019). DeleteUnityScrollRect. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollRect.html
BibTeX
@misc{reference.wolfram_2022_deleteunityscrollrect, author="Wolfram Research", title="{DeleteUnityScrollRect}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollRect.html}", note=[Accessed: 12-January-2025
]}
BibLaTeX
@online{reference.wolfram_2022_deleteunityscrollrect, organization={Wolfram Research}, title={DeleteUnityScrollRect}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollRect.html}, note=[Accessed: 12-January-2025
]}