Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma strict
- import UnityEngine.UI;
- var NumberField: GameObject;
- var Text1: String;
- function Num1() {
- Text1 = NumberField.GetComponent(UI.Text).text;
- Text1.text.ToString();
- }
Advertisement
Add Comment
Please, Sign In to add comment