public static void ConnectToServer(SocketMorphologyCallbacks a)
        {
            tPython = new Thread(new ThreadStart(listenPython));
            tPython.Start();

            setSocketMorphologyCallbacks (a);

            // listenPython ();
        }
 public static void setSocketMorphologyCallbacks(SocketMorphologyCallbacks a)
 {
     socketMorphologyCallbacks = a;
 }
Ejemplo n.º 3
0
 // public MeshFilter plane;
 // Use this for initialization
 void Start()
 {
     smCallbacks = new SocketMorphologyCallbacks (mComputeCraterGeometry);
     // initialize connection with server
     SocketMorphology.ConnectToServer (smCallbacks);
 }