public static void SetLiveWipeStatus(LiveWipeStatus status){ #if UNITY_ANDROID && !UNITY_EDITOR AndroidJavaClass lobiClass = new AndroidJavaClass("com.kayac.lobi.sdk.rec.unity.LobiRecBridge"); lobiClass.CallStatic("setLiveWipeStatus", (int)status); #endif #if ((UNITY_IOS || UNITY_IPHONE) && ! UNITY_EDITOR) LobiRec_set_live_wipe_status_((int)status); #endif }
public static void SetLiveWipeStatus(LiveWipeStatus status) { #if UNITY_ANDROID && !UNITY_EDITOR AndroidJavaClass lobiClass = new AndroidJavaClass("com.kayac.lobi.sdk.rec.unity.LobiRecBridge"); lobiClass.CallStatic("setLiveWipeStatus", (int)status); #endif #if ((UNITY_IOS || UNITY_IPHONE) && !UNITY_EDITOR) LobiRec_set_live_wipe_status_((int)status); #endif }
public static LiveWipeStatus SetLiveWipeStatus() { LiveWipeStatus status = LiveWipeStatus.None; #if UNITY_ANDROID && !UNITY_EDITOR Debug.Log("unsupported"); #endif #if ((UNITY_IOS || UNITY_IPHONE) && !UNITY_EDITOR) status = (LiveWipeStatus)LobiRec_get_live_wipe_status_(); #endif return(status); }
public static LiveWipeStatus GetLiveWipeStatus() { LiveWipeStatus status = LiveWipeStatus.None; #if UNITY_ANDROID && !UNITY_EDITOR AndroidJavaClass lobiClass = new AndroidJavaClass("com.kayac.lobi.sdk.rec.unity.LobiRecBridge"); status = (LiveWipeStatus)lobiClass.CallStatic <int>("getLiveWipeStatus"); #endif #if ((UNITY_IOS || UNITY_IPHONE) && !UNITY_EDITOR) status = (LiveWipeStatus)LobiRec_get_live_wipe_status_(); #endif return(status); }