Example #1
0
    private void Start()
    {
        goldScore = GameObject.Find("GoldScore").GetComponent <Text>();
        ts        = GameObject.Find("GameManager").GetComponent <TIGameManager>();

        ts.UpdateGoldValues();
        goldValue = ts.GetGoldValue();
    }
Example #2
0
    void Start()
    {
        ti = GameObject.Find("GameManager").GetComponent <TIGameManager>();

        ti.UpdateGoldValues();
    }