private void TickDismantlePlaceable(IPlaceable placeableToDismantle) { placeableToDismantle.UnpackedPercent = placeableToDismantle.UnpackedPercent - Time.deltaTime / placeableToDismantle.UnpackDuration; if (placeableToDismantle.UnpackedPercent <= 0f) { placeableToDismantle.UnpackedPercent = 0f; placeableToDismantle.Dismantle(transform); placeableToDismantle.IsGrabbed = true; var grabbable = placeableToDismantle as IGrabbable; GrabGrabbable(grabbable); UpdatePlayerMass(); } }