void PressCancel() { if (isUsingObject && objectToUse != null) { if (objectToUse.StopUsing()) { StopUsingObject(); } } }