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