コード例 #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;
 }
コード例 #2
0
 // Update is called once per frame
 void OnDestroy()
 {
     eyeConnection = null;
 }