public virtual void GetHit(PickupController pickup) { print("Get Hit reached"); var ps = pickup.GetComponentInChildren <ParticleSystem>(); if (ps != null) { ps.Play(); } TakeRecoil(pickup); health--; print("Hit. Health = " + health); if (health <= 0) { Die(); } }