Ejemplo n.º 1
0
 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>();
 }
Ejemplo n.º 2
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>();
 }
Ejemplo n.º 3
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>();
 }
Ejemplo n.º 4
0
    //public Transform head;

    void Awake()
    {
        steerfortarget = gameObject.GetComponent <SteerForTarget>();
        vehicle        = this.gameObject.GetComponent <AutonomousVehicle>();
        person         = this.gameObject.GetComponent <Person>();
        aware          = this.gameObject.GetComponent <Aware>();
        personControl  = GameObject.Find("Game Controller").GetComponent <s_PersonControl>();
        me             = this.gameObject;
        sightdetect    = this.gameObject.GetComponentInChildren <SightDetect>();
        clicker        = GameObject.Find("Game Controller").GetComponent <s_Clicker>();
    }
Ejemplo n.º 5
0
 //public Transform head;
 void Awake()
 {
     steerfortarget = gameObject.GetComponent<SteerForTarget>();
     vehicle = this.gameObject.GetComponent<AutonomousVehicle>();
     person = this.gameObject.GetComponent<Person>();
     aware = this.gameObject.GetComponent<Aware>();
     personControl = GameObject.Find("Game Controller").GetComponent<s_PersonControl>();
     me = this.gameObject;
     sightdetect = this.gameObject.GetComponentInChildren<SightDetect>();
     clicker = GameObject.Find("Game Controller").GetComponent<s_Clicker>();
 }
Ejemplo n.º 6
0
 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>();
 }
Ejemplo n.º 7
0
 // Use this for initialization
 void Awake()
 {
     visitors = GameObject.Find("Game Controller").GetComponent<s_PersonControl>();
 }
Ejemplo n.º 8
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>();
 }
Ejemplo n.º 9
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>();
 }
Ejemplo n.º 10
0
 // Use this for initialization
 void Awake()
 {
     visitors = GameObject.Find("Game Controller").GetComponent <s_PersonControl>();
 }