This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
global:gamegui [2013/12/09 23:52] Mistermind |
global:gamegui [2013/12/10 02:15] Mistermind |
||
---|---|---|---|
Line 26: | Line 26: | ||
---- | ---- | ||
- | Code Access: '' | + | Code access: |
+ | |||
+ | '' | ||
+ | |||
+ | Code example: | ||
+ | <code c#> | ||
+ | FontOptions fontOptions = UFE.GetFont(UFE.config.guiOptions.alertFont); | ||
+ | GameObject guiTextGO = (GameObject)Instantiate(fontOptions.fontPrefab, | ||
+ | guiTextGO.guiText.text = "Hello World!"; | ||
+ | </ | ||
---- | ---- |