コード例 #1
0
        public static void SendTalk(MessageTalk message)
        {
            string jsonMessage = JsonConvert.SerializeObject(message);

            SendMessage(jsonMessage);
        }
コード例 #2
0
        public static void ReceiveTalk(string message)
        {
            MessageTalk msg = JsonConvert.DeserializeObject <MessageTalk>(message);

            GameFlowControl.ReceiveTalk(msg);
        }