using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class GameMaster : MonoBehaviour {
    public static GameMaster gm;

    public Text countText;
   

    public int count;
 

    // Use this for initialization
    void Awake () {
        gm = this;
      
        setCountText();
	}
	
	// Update is called once per frame
	void Update () {
		
	}

    public void setCountText ()
    {
        count = count + 100;
        countText.text = " " + count;
       
    }
}
