Пример #1
0
 protected override void OnEnable()
 {
     base.OnEnable();
     _playerHealth = FindObjectOfType <PlayerHealth>();
 }