public void OnSlotSelection(Slots slotNum) { this._pendingConfirmationSlot = slotNum; if ((slotNum == GameSetup.Slot && SaveSlotUtils.UserId == GameSetup.SaveUserId && GameSetup.Init != InitTypes.New) || !SaveSlotUtils.HasLocalFile(slotNum, "__RESUME__")) { this.OnSlotConfirmed(); } else { this._confirmPanel.SetActive(true); base.gameObject.SetActive(false); } }