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