public override void FixedUpdate() { base.FixedUpdate(); Portable portable = mEntity.GetComponent <Portable>(); if (portable == null || !portable.IsHeld()) { mRigidbody.AddForce(Vector3.up * sLevitationForce, ForceMode.Acceleration); if (!mScored) { mScored = true; Score(); Object.Destroy(mEntity.gameObject, sTimeout); } } }