RootNode

RootNode is not creatable, there's only one instance of it. It can only be accessed through its globally exposed variable.

The RootNode represents the root of the UI of the game.

It contains eerything UI (Labels, Buttons, etc)

Functions

nil AddChild ( Button button )
nil AddChild ( Label label )

Add a UI Node to the game's UI, at the top level of the hierarchy.