Example #1
0
    // Use this for initialization
    void Start()
    {
        econ = GameObject.Find("Main Camera").GetComponent <EconomyScript>();

        attendingPopulation = KidTrackerScript.attendingList.Count;
        Debug.Log("Attending Population" + attendingPopulation);
    }
 // Use this for initialization
 void Start()
 {
     econ = GameObject.Find("Main Camera").GetComponent <EconomyScript>();
 }
Example #3
0
 // Use this for initialization
 void Start()
 {
     //we want to grab the ui stuff for right now, instead of focusing on the world at the minute
     thisText    = GetComponent <Text>();
     mainEconomy = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <EconomyScript>();
 }