Creating a sign-up screen
Unity UI is a new concept that you will read about often throughout these pages, but before we continue, we must establish new knowledge about this tool.
Unity UI is a set of tools and resources that facilitates the creation of UIs in the game. The most common elements we will work with will be the following:
- Canvas: The canvas is the working area and the root that contains a set of UI elements. It can be configured to automatically fit and scale to any screen.
- Button: A button can contain only text or include an image. With a button, we can activate functions of our scripts.
- Text: This allows us to display text of any size, with multiple configurations that allow high customization.
- Image: This is simply an image that can serve as a background or decorative element anywhere in our interface.
- Panel: This serves as a parent element for grouping and organizing multiple UI elements.
- Input Field: This allows the user to write text...