CakeMeister

gamemaster phan 14

Jul 7th, 2017
892
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.38 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5.  
  6. public class gamemaster : MonoBehaviour {
  7.     public int points = 0;
  8.  
  9.     public Text pointtext;
  10.  
  11.     // Use this for initialization
  12.     void Start () {
  13.        
  14.     }
  15.    
  16.     // Update is called once per frame
  17.     void Update () {
  18.         pointtext.text = ("Points: " + points);
  19.     }
  20. }
Add Comment
Please, Sign In to add comment