Exemplo n.º 1
0
        private NumpyOps()
        {
            UnityEngine.Application.quitting += OnApplicationExit;

            string _args = $"{_host.ToString()} {_port}";

            _opProcess = new PythonProcess(_args);
            _opProcess.Run();

            _opThread = new Thread(new ThreadStart(OpProc));
            _opThread.Start();

            _opSocketTask = CreateSocketAsync();
        }