Ejemplo n.º 1
0
 private void OnDestroy()
 {
     bol_Table_Info = null;
     BolNetworkReceiving.SelfDestruction();
     //StopControlMatrix();
     //StopCurrentMatrix();
     instance   = null;
     screenChat = null;
 }
Ejemplo n.º 2
0
 void Awake()
 {
     instance = this;
     CoreGameManager.instance.currentSceneManager = instance;
     listProcess_left  = new List <IEnumerator>();
     listProcess_right = new List <IEnumerator>();
     listCurrent_right = new List <IEnumerator>();
     listCurrent_left  = new List <IEnumerator>();
 }
Ejemplo n.º 3
0
    public void OnButtonOutRoom()
    {
        if (BOL_Manager.instance.CanPlayMusicAndSfx())
        {
            MyAudioManager.instance.PlaySfx(BOL_Manager.instance.myAudioInfo.sfx_Press);
        }

        CoreGameManager.instance.SetUpOutRoomAndBackToChooseTableScreen();
        bol_Table_Info = null;
        BolNetworkReceiving.SelfDestruction();
        instance = null;
        //if (objectBattle == null) {
        //PopupManager.Instance.CreatePopupDialog(MyLocalize.GetString(MyLocalize.kWarning)
        //, MyLocalize.GetString("System/AskForOutRoom")
        //, string.Empty
        //, MyLocalize.GetString(MyLocalize.kYes)
        //, MyLocalize.GetString(MyLocalize.kNo)
        //, () => {
        //	CoreGameManager.instance.SetUpOutRoomAndBackToChooseTableScreen();
        //	bol_Table_Info = null;
        //	BolNetworkReceiving.SelfDestruction();
        //	instance = null;
        //}, null);
    }