예제 #1
0
 public void setCameraCallback(ISplitCameraCallback callback)
 {
     // #if UNITY_ANDROID
     //     if(nativeController!=null){
     //         var splitCameraCallback = new SplitCameraCallback();
     //         nativeController.Call("setCameraCallback",splitCameraCallback);
     //     }
     // #endif
     mSplitCameraCallback = callback;
 }
예제 #2
0
 public void setDefaultCameraCallback(ISplitCameraCallback callback)
 {
              #if UNITY_ANDROID
     if (nativeController != null)
     {
         var splitCameraCallback = new SplitCameraCallback();
         nativeController.Call("setCameraCallback", splitCameraCallback);
     }
             #endif
     mSplitDefaultCameraCallback = callback;
 }