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