User Tools

Site Tools


global:gamegui

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
global:gamegui [2013/12/09 23:50]
Mistermind created
global:gamegui [2014/01/09 01:34]
Mistermind
Line 12: Line 12:
 **Menu Font (Small):** Font used for menus. **Menu Font (Small):** Font used for menus.
  
-==== Life and Gauge Bar Options (Player 1/ Player 2) ====+ 
 +---- 
 +** Life and Gauge Bar Options (Player 1/ Player 2) **
  
 **Background Image:** The background image of this bar. **Background Image:** The background image of this bar.
Line 24: Line 26:
  
 ---- ----
-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