Ejemplo n.º 1
0
 private void Awake()
 {
     _damageOnContact = gameObject.GetComponent <IDamageOnContact>();
 }
Ejemplo n.º 2
0
 protected override void Awake()
 {
     base.Awake();
     _damageOnContact = gameObject.GetComponent <IDamageOnContact>();
 }