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>(); route = GameObject.Find("Game Controller").GetComponent <s_RouteControl>(); command = GetComponent <Command>(); aware = GetComponent <Aware>(); visitors = GameObject.Find("Game Controller").GetComponent <s_PersonControl>(); clicker = GameObject.Find("Game Controller").GetComponent <s_Clicker>(); }
//public List<WayPoint> waypoint = new List<WayPoint>(); void Start() { route = GetComponent <s_RouteControl>(); //route = (s_RouteControl)GameObject.GetComponent("s_RouteControl"); //Debug.Log("waypoint has "+route.waypoint.Count+" Items"); }
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>(); route = GameObject.Find("Game Controller").GetComponent<s_RouteControl>(); command = GetComponent<Command>(); aware = GetComponent<Aware>(); visitors = GameObject.Find("Game Controller").GetComponent<s_PersonControl>(); clicker = GameObject.Find("Game Controller").GetComponent<s_Clicker>(); }
//public List<WayPoint> waypoint = new List<WayPoint>(); void Start() { route = GetComponent<s_RouteControl>(); //route = (s_RouteControl)GameObject.GetComponent("s_RouteControl"); //Debug.Log("waypoint has "+route.waypoint.Count+" Items"); }