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