void OnClose(ButtonScript obj, object args, int param1, int param2) { OpenPanelAnimator.CloseOpenAnimation(this.panel, () => { Hide(); Destroyobj(); }); }
private void OnClose(ButtonScript obj, object args, int param1, int param2) { ArenaSystem.Instance.openPvE = false; OpenPanelAnimator.CloseOpenAnimation(this.panel, () => { Hide(); }); }
public void OnClose(ButtonScript obj, object args, int param1, int param2) { OpenPanelAnimator.CloseOpenAnimation(this.panel, () => { FriendSystem.Instance().isOpenFried = false; Hide(); }); }
private void OnClickClose(ButtonScript obj, object args, int param1, int param2) { _compoundPane.GetComponent <CompoundUI>().Hide(); OpenPanelAnimator.CloseOpenAnimation(this.panel, () => { Hide(); }); }
// void OnClickstate(ButtonScript obj, object args, int param1, int param2) // { // TabsSelect (0); // isState = true; // MainbabyListUI.babyObj.SetActive (true); // zhongzuObj.SetActive (true); // stateBtn.GetComponent<BoxCollider> ().enabled = false; // stateUI.SetActive (true); // if (posObj != null) // { // posObj.SetActive(false); // } // Babypdate (); // } // void OnClickProperty(ButtonScript obj, object args, int param1, int param2) // { // Babypdate (); // TabsSelect (1); // isState = false; // MainbabyListUI.babyObj.SetActive (false); // zhongzuObj.SetActive (false); // stateBtn.GetComponent<BoxCollider> ().enabled = false; // if (GamePlayer.Instance.babies_list_.Count == 0) // return; // if(posObj != null) // { // posObj.SetActive(true); // stateBtn.GetComponent<BoxCollider> ().enabled = true; // }else // { // LoadUI (UIASSETS_ID.UIASSETS_mainbabyshuxingPanel); // } // stateUI.SetActive (false); // // } void OnClickTColse(ButtonScript obj, object args, int param1, int param2) { OpenPanelAnimator.CloseOpenAnimation(this.panel, () => { GuideManager.Instance.ProcEvent(ScriptGameEvent.SGE_BabyUIClose); Hide(); }); }
void OnClose(ButtonScript obj, object args, int param1, int param2) { OpenPanelAnimator.CloseOpenAnimation(this.panel, () => { if (callback_ != null) { callback_(null); Clear(); } Hide(); }); }
private void OnClose(ButtonScript obj, object args, int param1, int param2) { //NetConnection.Instance.stopMatching (); ArenaSystem.Instance.openPvP = false; ArenaPvpSystem.Instance.openPvpUI = false; if (TeamSystem.IsTeamLeader()) { NetConnection.Instance.warriorStop(); } ArenaPvpSystem.Instance.PvpMatching = false; //NetConnection.Instance.exitPvpLobby(); OpenPanelAnimator.CloseOpenAnimation(this.panel, () => { Hide(); }); }
private void OnClose(ButtonScript obj, object args, int param1, int param2) { if (emplyoeeCellPool.Count > 0) { for (int i = 0; i < emplyoeeCellPool.Count; i++) { Destroy(emplyoeeCellPool[i]); emplyoeeCellPool[i] = null; } emplyoeeCellPool.Clear(); } OpenPanelAnimator.CloseOpenAnimation(this.panel, () => { Hide(); }); }
private void OnClose(ButtonScript obj, object args, int param1, int param2) { if (itemCellPoolList.Count > 0) { for (int i = 0; i < itemCellPoolList.Count; i++) { Destroy(itemCellPoolList[i]); itemCellPoolList[i] = null; } itemCellPoolList.Clear(); } OpenPanelAnimator.CloseOpenAnimation(this.panel, () => { Hide(); }); }
private void OnClickClose(ButtonScript obj, object args, int param1, int param2) { isOpen = false; OpenPanelAnimator.CloseOpenAnimation(this.panel, () => { if (chindCellPoolList.Count > 0) { for (int i = 0; i < chindCellPoolList.Count; i++) { Destroy(chindCellPoolList[i]); chindCellPoolList[i] = null; } chindCellPoolList.Clear(); } Hide(); }); }