UnityCanvas
represents a Unity canvas.
Details
- UnityCanvas
is a object that represents an existing Canvas object in the Unity game engine.
- UnityCanvas
is typically generated by functions such as CreateUnityCanvas.
- UnityCanvas
gives a list of possible properties.
- The value associated with a given property "prop" can be extracted using UnityCanvas
.
- You can make an assignment like UnityCanvas
to modify a property of the object.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Load the package and open a project:

https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-i9rs1

https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-ejzug9

https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-yulsnf


https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-nsf6ie


https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-h1bm2k
Properties & Relations (4)Properties of the function, and connections to other functions
UnityCanvasQ checks if an expression is a UnityCanvas

https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-zzwj4d


https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-zqryn8

PropertyList returns all available properties of the canvas.

https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-kgsb80


https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-5mjsp7

PropertyValue returns the value of the specified property.

https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-wol1l0


https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-t1bnqj

SetProperty changes the specified property of the canvas.

https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-o6plun


https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-xl25i5

https://wolfram.com/xid/04yzb6ura7hd70zr9ydw-xry6wk

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