public override void HandleCollision(PickupCollisionHandler other, Vector3 fromDirection, float distance) { // treat all pickups as coins for now _character.coinCount++; }
public override void HandleCollision(PickupCollisionHandler pickup, Vector3 fromDirection, float distance) { _character.coinCount++; }
public virtual void HandleCollision(PickupCollisionHandler other, Vector3 fromDirection, float distance) { DefaultHandleCollision(other, fromDirection, distance); }