Ejemplo n.º 1
0
 void OnChunkReceived(OnClientReceiveChunk e)
 {
     if (e.Data == null)
     {
         return;
     }
     _receivedChunks.Enqueue(e.Data);
 }
Ejemplo n.º 2
0
 void OnReceiveChunk(OnClientReceiveChunk e)
 {
     _loadedCount++;
     ChunkCountText.text = string.Format(CHUNK_COUNT_MESSAGE_FORMAT, _loadedCount);
 }