コード例 #1
0
 private void OnDestroy()
 {
     bol_Table_Info = null;
     BolNetworkReceiving.SelfDestruction();
     //StopControlMatrix();
     //StopCurrentMatrix();
     instance   = null;
     screenChat = null;
 }
コード例 #2
0
    void RegisterAction()
    {
#if TEST
        Debug.Log("register action update viewer and get table info");
#endif
        bol_Table_Info = new BOL_Table_Info();
        NetworkGlobal.instance.SetProcessRealTime(CMD_REALTIME.S_GAMEPLAY_GET_TABLE_INFO, (_mess) =>
        {
            bol_Table_Info.SetDataTableInfo(_mess);
            BolNetworkReceiving.instance.SetupReceive();
        });
    }
コード例 #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);
    }
コード例 #4
0
 public static void SelfDestruction()
 {
     ins = null;
 }