Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void OnMouseDown (){
- int.TryParse(this.GetComponentInChildren<TextMesh>().text, out result);
- initial += result;
- Debug.Log (initial);
- resultText.text = initial.ToString();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement