User Tools

Site Tools


global:gamegui

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
Next revision Both sides next revision
global:gamegui [2013/12/09 23:52]
Mistermind
global:gamegui [2014/06/04 03:46]
Mistermind
Line 11: Line 11:
  
 **Menu Font (Small):** Font used for menus. **Menu Font (Small):** Font used for menus.
 +
 +**Has Gauge:** If disabled the game will ignore any gauge/meter calls from the engine.
  
  
Line 26: Line 28:
  
 ---- ----
-Code Access: ''UFE.config.guiOptions''+Code access: 
 + 
 +''UFE.config.guiOptions'' 
 + 
 +Code example: 
 +<code c#> 
 +FontOptions fontOptions = UFE.GetFont(UFE.config.guiOptions.alertFont); 
 +GameObject guiTextGO = (GameObject)Instantiate(fontOptions.fontPrefab, Vector3.zero, Quaternion.identity); 
 +guiTextGO.guiText.text = "Hello World!"; 
 +</code>
 ---- ----
 +
 +[[global:start|< Back to Global Editor]]
global/gamegui.txt · Last modified: 2015/05/15 03:56 by Mistermind