Пример #1
0
 void Start()
 {
     _controller = GameObject.FindGameObjectWithTag(Tags.GameController)
         .GetComponent<ZOrderController>();
     _controller.Components.Add(this.gameObject);
     _abducted = GetComponent<Abducted>();
 }
Пример #2
0
 void Start()
 {
     _controller = GameObject.FindGameObjectWithTag(Tags.GameController)
                   .GetComponent <ZOrderController>();
     _controller.Components.Add(this.gameObject);
     _abducted = GetComponent <Abducted>();
 }
Пример #3
0
 void Start()
 {
     _abducted = GetComponent<Abducted>();
 }
Пример #4
0
 void Start () {
     _abducted = GetComponent<Abducted>();
 }