Additional Materials
Key Points in UI:
- Anchoring + Pivot: determines how UI will scale and move when the screen or its parent resizes and moves
- Canvas settings are important
- Rule of thumb: Set your canvas to “scale with screen size,” reference resolution to a desired aspect ratio (such as 1920 x 1080), so that your UI scales according to your screen
On Optimization/Workflow
- Turn off "raycast target" if it doesn’t need to be clickable
- Can toggle canvas component to enable or disable canvas objects (vs. setting active or inactive for the entire game object)
- Scale uniformly by clicking and dragging scale tool center
- Hold shift/alt to set pivot or scale while setting anchor presets
Helpful Links
Check out our ACM Studio UI Tutorial
- UI Best practices
- Optimizing unity UI
- Scrollview grid tutorial
- Enabling UI with the new input system
- Unity UI course
The Unity documentation for each UI component is linked in the images!