TeHArGiS10

Untitled

Jun 19th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #pragma strict
  2. import UnityEngine.UI;
  3.  
  4. var NumberField: GameObject;
  5. var Text1: String;
  6.  
  7. function Num1() {
  8. Text1 = NumberField.GetComponent(UI.Text).text;
  9. Text1.text.ToString();
  10. }
Advertisement
Add Comment
Please, Sign In to add comment