|
||||||||||||||||
|
||||||||||||||||
Component.guiText
var guiText : GUITextDescriptionThe GUIText attached to this GameObject (null if there is none attached).
JavaScripts
guiText.text = "Hello World";
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { void Awake() { guiText.text = "Hello World"; } }
import UnityEngine
import System.Collections class example(MonoBehaviour): def Awake(): guiText.text = 'Hello World' |
|
|||||||||||||||