Пример #1
0
 // Use this for initialization
 void Awake()
 {
     collider.isTrigger = true;
     pTalksControls     = (CTalksControls)GameObject.Find("Player").GetComponent("CTalksControls");
 }
Пример #2
0
 // Use this for initialization
 void Awake()
 {
     collider.isTrigger = true;
     pTalksControls =  (CTalksControls)GameObject.Find("Player").GetComponent("CTalksControls");
 }