Example #1
0
 // Use this for initialization
 void Start()
 {
     StaticObjects.Reset();
     MoneyText       = (Text)GameObject.Find("MoneyText").GetComponent <Text> ();
     BulkText        = (Text)GameObject.Find("BulkText").GetComponent <Text> ();
     objectiveStatus = (Text)GameObject.Find("ObjectiveStatusText").GetComponent <Text> ();
     player          = new Player();
     SceneManager.LoadScene("hospital", LoadSceneMode.Additive);
     exitButton           = GameObject.Find("Exit").GetComponent <PointerController> ();
     objectiveStatus.text = "is this ok?";
 }