Game Development Reference
In-Depth Information
If you drag a Unity UI control from a Canvas and parent it to any other
object in the scene that is not a child of a Canvas object, it simply is not
drawn and is ignored. This includes if you drag it to the top of the Unity
project hierarchy.
Unity will also add an EventSystem to the scene, if one does not exist
already; this is explained in detail in the following Event System section.
To try it out, open a new scene in your project and either:
• Create a new Canvas by selecting to the Create | UI | Canvas option in the
hierarchy window, or
• Create any UI component by selecting to Create | UI | Go Wild (select any
control) option in the hierarchy window
If you then select the Canvas in the project hierarchy, you will see the following in
the Inspector window with the default Screen Space - Overlay Render Mode :
The default Canvas, with Screen Space - Overlay selected
 
Search WWH ::




Custom Search