void Awake() { person = this.gameObject.GetComponent <Person>(); command = GetComponent <Command>(); aware = GetComponent <Aware>(); visitors = GameObject.Find("Game Controller").GetComponent <s_PersonControl>(); gameplay = GameObject.Find("Game Controller").GetComponent <s_GamePlay>(); }
void Start() { route = GetComponent <s_RouteControl>(); clicker = GetComponent <s_Clicker>(); visitors = GetComponent <s_PersonControl>(); hover = GUI.tooltip; gameplay = GameObject.Find("Game Controller").GetComponent <s_GamePlay>(); }
void Awake() { person = this.gameObject.GetComponent<Person>(); command = GetComponent<Command>(); aware = GetComponent<Aware>(); visitors = GameObject.Find("Game Controller").GetComponent<s_PersonControl>(); gameplay = GameObject.Find("Game Controller").GetComponent<s_GamePlay>(); }
void Start() { route = GetComponent<s_RouteControl>(); clicker = GetComponent<s_Clicker>(); visitors = GetComponent<s_PersonControl>(); hover = GUI.tooltip; gameplay = GameObject.Find("Game Controller").GetComponent<s_GamePlay>(); }