Пример #1
0
 protected override void Start()
 {
     healthSystem = GetComponent <HealthSystem>();
     base.Start();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     playerHealth = gameObject.GetComponent <HealthSystem>();
 }