Пример #1
0
    public void OnModerateMessage(string commandId, JSONObject jsonData)
    {
        // Debug.Log("OnModerateMessage:" + commandId + " " + jsonData);
        switch (commandId)
        {
        case Command.TLMB.UPDATE:
            UpdateState(jsonData);
            break;

        case Command.TLMB.START:
            TLMBGameData.LoadRoom(jsonData);
            TestTLMB.Instance.Display(jsonData.ToString());
            break;
        }
    }
Пример #2
0
 void Awake()
 {
     Instance = this;
     TLMBGameData.Init();
 }