Example #1
0
    void Awake()
    {
        gm = GameObject.Find("GameManager").GetComponent <GameManager>();
        um = GameObject.Find("GameManager").GetComponent <UIManager>();
        ts = GameObject.Find("GameManager").GetComponent <TimeSystems>();

        CreateItem();
    }
Example #2
0
 void Start()
 {
     um  = GetComponent <UIManager>();
     tms = GetComponent <TimeSystems>();
 }