コード例 #1
0
ファイル: GameManager.cs プロジェクト: mumujingyou/mobaClient
 void Update()
 {
     if (uSocket != null)
     {
         uSocket.Handle();
     }
     //调用UI管理里面的Update
 }
コード例 #2
0
ファイル: ProtoTest.cs プロジェクト: mumujingyou/mobaClient
    // Update is called once per frame
    void Update()
    {
        if (uSocket != null)
        {
            uSocket.Handle();
        }

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