Adding the canvas

Here are the steps for adding a canvas for our UI:

  1. Right-click in an empty area of the Hierarchy panel and select UI | Canvas. You can review the details of the canvas in the Inspector panel. 
You will note, in the Hierarchy panel, that Unity created an EventSystem when you created your canvas. This system is used to manage user input.
  1. Change the new canvas GameObject's name from Canvas to HUD_Canvas. Using self-descriptive names for our GameObjects is considered good development practice. No other changes to any of the canvas properties are necessary.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset