Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     p = FindObjectOfType <poleController>();
     t = GetComponent <Text>();
 }
Пример #2
0
 void Start()
 {
     hookedObject = null;
     poleCtrl     = FindObjectOfType <poleController>();
 }