The wizard has created four new GameObjects on the scene for us:
Let's now review each in detail.
The UIRoot component scales widgets down to keep them at a manageable size. It is also responsible for the Scaling Style—it will either scale UI elements to remain pixel perfect or to occupy the same percentage of the screen, depending on the parameters you specify.
Select the UI Root (2D) GameObject in the Hierarchy. It has the
UIRoot.cs script attached to it. This script adjusts the scale of the GameObject it's attached to in order to let you specify widget coordinates in pixels, instead of Unity units as shown in the following screenshot:
The UIRoot component has four parameters: ...