Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     frameBuf      = new Byte[NetworkEyeConnection.RECV_BUFFER_SIZE];
     eyeConnection = new NetworkEyeConnection(serverIpAddress, serverPort);
     textures      = new Texture2D[sprites.Length];
     colorsBuf     = null;
 }
Exemplo n.º 2
0
 // Update is called once per frame
 void OnDestroy()
 {
     eyeConnection = null;
 }