//GameObject lastTrophy = null; // Use this for initialization void Start() { gui = devgui.GetComponent<GUITextBehaviour> (); manager = deamon.GetComponent<OfficeObjectManager> (); IEnumerable<string> trophies = ServerConnector.getInstance ().GetTrophies (); this.displayTrophies (trophies); }
// Use this for initialization void Start() { GameObject ogo = GameObject.Find ("GUI Text"); gui = ogo.GetComponent<GUITextBehaviour> (); ogo = GameObject.Find ("Deamon"); trophyManager = ogo.GetComponent<TrophyManager> (); }
// Use this for initialization void Start() { GameObject ogo = GameObject.Find ("GUI Text"); gui = ogo.GetComponent<GUITextBehaviour> (); defaultColor = renderer.material.color; }