public override void OnUpdate(float deltaTime) { if (Collider.Collision(collider, player.collider)) { player.ammoCount.Reset(); PickupManager.DestroyAmmo(this); } base.OnUpdate(deltaTime); collider.SetPosition(Position); }