Пример #1
0
 private void Awake()
 {
     health = GameObject.FindWithTag("Player").GetComponent <Health>();
 }