Example #1
0
 void Update()
 {
     Connection.Receive();
     if (Connection.isConnected == false)
     {
         //connecting
         StartCoroutine("Reconnect");
     }
 }
Example #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();
 }