public override void Collect(Entity collector) { base.Collect(collector); collector.GetComponentInParent <BatteringRamPowerUpController>().CollectPowerUp(); OnCollectBlock.Raise(); Destroy(this.gameObject); }
public override void Collect(Entity collector) { base.Collect(collector); OnCollectBlock.Raise(); Destroy(this.gameObject); }