Advertisement
Eriknem

Untitled

Oct 23rd, 2016
709
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.18 KB | None | 0 0
  1. void SetCountText ()
  2.     {
  3.         countText.text = "Count: " + count.ToString ();
  4.         if (count >= 12)
  5.         {
  6.             winText.text = "You Win!";
  7.         }
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement