Beispiel #1
0
 void OnDestroy()
 {
     if (ffi != null)
     {
         Debug.Log("Closing ffi context");
         ffi.Dispose();
         ffi = null;
     }
 }
Beispiel #2
0
 public void ConnectToServer(string remoteAddress)
 {
     ffi = new Ffi.Context(remoteAddress);
 }
Beispiel #3
0
 public void StartLocalServer()
 {
     ffi = new Ffi.Context(null);
 }