public override void initState(ResponseBase res) { base.initState(res); this.gameObject.SetActive(true); buttonToggle.isOn = false; RequestGameList req = new RequestGameList(); SocketManager.Instance().sendMessage(req); }
public override Message CreateFirstMessage() { RequestGameList msg = new RequestGameList() { ConvId = ConvId, MsgId = ConvId, MessageType = TypeOfMessage.RequestGameList }; return(msg); }