Beispiel #1
0
 void Update()
 {
     if (uSocket != null)
     {
         uSocket.Handle();
     }
     //调用UI管理里面的Update
 }
Beispiel #2
0
    // Update is called once per frame
    void Update()
    {
        if (uSocket != null)
        {
            uSocket.Handle();
        }

        if (Input.GetKeyDown(KeyCode.A))
        {
            TestSend();
        }
    }