Exemplo n.º 1
0
 void Update()
 {
     Connection.Receive();
     if (Connection.isConnected == false)
     {
         //connecting
         StartCoroutine("Reconnect");
     }
 }
Exemplo n.º 2
0
 void Update()
 {
     m_Connection.Receive();
 }
 void Update()
 {
     //Every frame we must call receive to invoke the events from the main thread
     Connection.Receive();
 }