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>();
     command = GetComponent<Command>();
     aware = GetComponent<Aware>();
     visitors = GameObject.Find("Game Controller").GetComponent<s_PersonControl>();
     gameplay = GameObject.Find("Game Controller").GetComponent<s_GamePlay>();
 }
Ejemplo n.º 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>();
 }