Advertisement
Guest User

Untitled

a guest
May 25th, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3. using UnityEngine.UI;
  4.  
  5. public class NameOfScript : MonoBehaviour {
  6.     Text text;
  7.  
  8.     void Start()
  9.     {
  10.         text = GetComponent<Text> ();
  11.     }
  12.  
  13.     void Update()
  14.     {
  15.         text.text = "TEXT OF THE TEXT BECAUSE TEXT";
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement