public override void ConnectItem(Item item) { base.ConnectItem(item); hit = new HitInfo <IDamageable>(itemComponent); hitbox.Add(hit); }
private void Awake() { StartCoroutine(life.Variation()); hit = new HitInfo <IDamageable>(this); hitbox.Add(hit); }
private void OnEnable() { detectBoundary.Add(this); }