User Tools

Site Tools


global:gui

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
global:gui [2016/09/28 05:03]
Mistermind [Screens]
global:gui [2022/12/24 23:23] (current)
FreedTerror
Line 2: Line 2:
 Here you can set several in-game GUI options and freely use the information in your own GUI scripts. Here you can set several in-game GUI options and freely use the information in your own GUI scripts.
  
-It's recommended that you go through [[https://unity3d.com/learn/tutorials/modules/beginner/ui|Unity's UI tutorials]] to learn more about how Unity handles UI elements in version 5+.+It's recommended that you go through [[https://unity3d.com/learn/tutorials/modules/beginner/ui|Unity's UI tutorials]] and [[https://www.youtube.com/watch?v=ZnbRpPUDJnU|our video tutorial]] to learn more about how Unity handles UI elements in version 5+.
  
  
Line 29: Line 29:
  
 **Use Canvas Scaler:** Use the dynamic canvas scaler system (recommended). **Use Canvas Scaler:** Use the dynamic canvas scaler system (recommended).
-  * Scale Mode: How the Canvas will scale your UI. For more detailed information on Canvas Scale modes, see the [[http://docs.unity3d.com/Manual/script-CanvasScaler.html|Unity Manual]]. +  * **Scale Mode:** How the Canvas will scale your UI. For more detailed information on Canvas Scale modes, see the [[http://docs.unity3d.com/Manual/script-CanvasScaler.html|Unity Manual]]. 
-    * __Constant Pixel Size__: A fixed screen size, UI elements retain their size in pixels regardless of screen size.  Use this if you know the exact resolution of your target device/platform. +    * **Constant Pixel Size:** A fixed screen size, UI elements retain their size in pixels regardless of screen size.  Use this if you know the exact resolution of your target device/platform. 
-      * Reference Pixels Per Unit: How many pixels of the sprite covers a unit in UI (if sprite's Pixels Per Unit setting used). +      * **Reference Pixels Per Unit:** How many pixels of the sprite covers a unit in UI (if sprite's Pixels Per Unit setting used). 
-      * Scale Factor: Scale UI elements by this factor. +      * **Scale Factor:** Scale UI elements by this factor. 
-    * __Scale with Screen Size__: (Default) Scales the UI with the screen size.  Use this if your target resolution is unknown. +    * **Scale with Screen Size:** (Default) Scales the UI with the screen size.  Use this if your target resolution is unknown. 
-      * Reference Pixels Per Unit: How many pixels of the sprite covers a unit in UI (if sprite's Pixels Per Unit setting used). +      * **Reference Pixels Per Unit:** How many pixels of the sprite covers a unit in UI (if sprite's Pixels Per Unit setting used). 
-      * Screen Match Mode: How to scale the canvas if aspect ratio doesn't fit the reference Resolution. +      * **Screen Match Mode:** How to scale the canvas if aspect ratio doesn't fit the reference Resolution. 
-      * Match Width or Height: Scale the canvas using as reference the width, height, or somewhere in between. +      * **Match Width or Height:** Scale the canvas using as reference the width, height, or somewhere in between. 
-      * Resolution: Reference resolution the UI is designed for.  If target resolution is higher, Canvas will scale up; if lower it will scale down. +      * **Resolution:** Reference resolution the UI is designed for.  If target resolution is higher, Canvas will scale up; if lower it will scale down. 
-    * __Constant Physical Size__: Creates the UI in World Space.  Generally not recommend for UFE. +    * **Constant Physical Size:** Creates the UI in World Space.  Generally not recommend for UFE. 
-      * Reference Pixels Per Unit: How many pixels of the sprite covers a unit in UI (if sprite's Pixels Per Unit setting used). +      * **Reference Pixels Per Unit:** How many pixels of the sprite covers a unit in UI (if sprite's Pixels Per Unit setting used). 
-      * Physical Unit: Specify position and sizes in either Centimetres/Millimetres/Inches/Points/Picas +      * **Physical Unit:** Specify position and sizes in either Centimetres/Millimetres/Inches/Points/Picas 
-      * Fallback Screen DPI: Assume this DPI is DPI unknown. +      * **Fallback Screen DPI:** Assume this DPI is DPI unknown. 
-      * Default Sprite DPI: DPI setting for sprite with Pixels Per Unit setting that matches Reference Pixels Per Unit. +      * **Default Sprite DPI:** DPI setting for sprite with Pixels Per Unit setting that matches Reference Pixels Per Unit. 
-  * Update Canvas Preview: If you made any alteration to the variables above with one of the screens opened, click here to update the preview.+  * **Update Canvas Preview:** If you made any alteration to the variables above with one of the screens opened, click here to update the preview.
  
 ---- ----
Line 100: Line 100:
 ---- ----
 ===== Video Tutorial ===== ===== Video Tutorial =====
-{{youtube>large:ZnbRpPUDJnU }} +{{youtube>ZnbRpPUDJnU }} 
 +{{youtube>RYQw1nYvWY8 }}
  
 ---- ----
global/gui.1475053422.txt.gz · Last modified: 2016/09/28 05:03 by Mistermind