This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
global:gui [2015/05/26 03:06] Mistermind |
global:gui [2016/09/28 02:22] Mistermind |
||
---|---|---|---|
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 is __HIGHLY__ | + | It' |
- | __**NOTE: | ||
- | * UFE includes a very handy Open/Close button to enable very easy editing of your UI prefabs. | ||
- | * There is a nice Gradient.cs script located in '' | ||
{{ : | {{ : | ||
- | UI Template scripts: '' | + | UI Template scripts: '' |
- | UI Base scripts: '' | + | UI Base scripts: '' |
---- | ---- | ||
- | **Default | + | **Screen |
+ | |||
+ | **Screen Fade-in Color:** The default fade color between menu screens. | ||
+ | |||
+ | **Game Fade-in Duration:** The fade-in time from the loading screen to the match. | ||
+ | |||
+ | **Game Fade-in Color:** The fade-in color from the loading screen to the match. | ||
+ | |||
+ | **Round Fade-in Duration:** The fade-in time in between rounds. | ||
+ | |||
+ | **Round Fade-in Color:** The fade-in color in between rounds. | ||
**Gauge/ | **Gauge/ | ||
Line 39: | Line 47: | ||
---- | ---- | ||
===== Screens ===== | ===== Screens ===== | ||
- | Create prefabs of your UI elements and assign them to the corresponding fields below. | + | Create prefabs of your UI elements and assign them to the corresponding fields below. Click '' |
To create your own UI screens, we recommend duplicating a default one then editing as you see fit, including the UI script. | To create your own UI screens, we recommend duplicating a default one then editing as you see fit, including the UI script. | ||
Line 73: | Line 81: | ||
{{ : | {{ : | ||
==== Network Mode ==== | ==== Network Mode ==== | ||
- | (Requires Network Addon) | ||
* Network Game: (NetworkGameScreen) | * Network Game: (NetworkGameScreen) | ||
* Host Game: (HostGameScreen) | * Host Game: (HostGameScreen) | ||
Line 82: | Line 89: | ||
**Notes:** | **Notes:** | ||
+ | * UFE includes a very handy Open/Close button to enable very easy editing of your UI prefabs. | ||
* Each UFEScreen script (and their inheritance) has a //Canvas Preview// toggle. | * Each UFEScreen script (and their inheritance) has a //Canvas Preview// toggle. | ||
+ | * There is a nice Gradient.cs script located in '' | ||
* For more on how to call each screen individually see [[: | * For more on how to call each screen individually see [[: | ||
Line 96: | Line 105: | ||
'' | '' | ||
+ | |||
+ | Example: | ||
+ | <code c#> | ||
+ | void OnStart(){ | ||
+ | UFE.StartIntroScreen(1f); | ||
+ | } | ||
+ | </ | ||
+ | |||
---- | ---- | ||
[[global: | [[global: |