private IEnumerator RepairConfirmModeEnter() { GameObject Instance = Util.Instantiate(Prefab_RepairConfim, base.transform.parent.gameObject); repairConfim = Instance.GetComponent <StrategyRepairConfirm>(); repairConfim.SetModel(FocusBanner.ShipModel); repairConfim.SetOnSelectPositive(OnDesideRepair); repairConfim.SetOnSelectNeagtive(OnCancelRepair); yield return(new WaitForEndOfFrame()); repairConfim.Open(); }
private void OnDestroy() { ShipStates = null; key = null; FocusBanner = null; SupplyMng = null; RepairMng = null; OrganizeMng = null; ModeProcessor = null; dialogKeyController = null; repairDockModel = null; Prefab_RepairConfim = null; repairConfim = null; Prefab_RepairKitConfim = null; repairKitConfim = null; Prefab_OrganizeDetailMng = null; Prefab_OrganizeList = null; OrganizeDetailMng = null; DeckNoIcon = null; DeckNoLabel = null; ListSelectShipModel = null; CurrentDeck = null; }