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; } }
void Awake() { Instance = this; TLMBGameData.Init(); }