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