Inheritance: UnityEngine.MonoBehaviour, IDamageBehavior
Exemplo n.º 1
0
 private void Start()
 {
     _player = GameObject.Find("Player").GetComponent<PlayerHealth>();
 }
Exemplo n.º 2
0
 void Start()
 {
     player = GetComponent<Player>();
     playerHealth = GetComponent<PlayerHealth>();
 }