// 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; }
// Update is called once per frame void OnDestroy() { eyeConnection = null; }