예제 #1
0
 public void OnReceiveMessage <T>(T Value)
 {
     if (Value is Sigal)
     {
         Sigal sigal = Value as Sigal;
         sigalManager.AddSinal(sigal, userInput);
     }
 }
예제 #2
0
        public void UpdateData <T>(T Value)
        {
            Sigal sigal = Value as Sigal;

            if (sigal != null)
            {
                showMessageText.text = sigal.Data;
            }
        }
예제 #3
0
        void PrintIncomingMessage(PacketHeader header, Connection connection, string message)
        {
            string newMessage = string.Format("{1} Count:{0} ", count, message);

            if (OnReceiveMessage != null)
            {
                Sigal sigal = new Sigal(newMessage);
                OnReceiveMessage.Invoke(sigal);
            }
            count++;
        }
예제 #4
0
        public void AddSinal(Sigal sigal, NetUIDemo netUIDemo)
        {
            BindData bindData = new BindData(sigal, netUIDemo);

            bindDatas.Add(bindData);
        }