예제 #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>();
 }
예제 #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>();
 }
예제 #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>();
 }
예제 #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>();
 }