unity3d - How to send a photo over network with Unity? -


i trying show players facebook profile picture each other when playing vs game. tried send picture [command] , [clientrpccall] attributes not work. idea?

it's trivial google answer question.

to started ...

[rpc] void sendtextures(byte[] receivedbyte){  receivedtexture = null;  receivedtexture = new texture2d(1, 1);  receivedtexture.loadimage(receivedbyte);  getcomponent<renderer>().material.maintexture = receivedtexture;  } 

just google 100s of full examples , discussions.

here's huge discussion many full scripts , on

http://forum.unity3d.com/threads/sync-texture-over-network.76538/

try googling,

unity3d send image on rpc

unity3d send png on rpc

unity3d texture rpc

and on


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -