Exemple #1
0
 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>();
 }
Exemple #2
0
 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>();
 }
Exemple #3
0
    //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");
    }
Exemple #4
0
 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>();
 }
Exemple #5
0
 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>();
 }
Exemple #6
0
 //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");
 }