Пример #1
0
 void Start()
 {
     ki_HealthController = transform.parent.gameObject.GetComponent <KI_HealthController>();
 }
Пример #2
0
 void Start()
 {
     ki_HealthController = transform.parent.gameObject.GetComponent <KI_HealthController>();
     parent = GameObject.FindGameObjectWithTag(MyConst.Clones);
 }