Ejemplo n.º 1
0
		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
		}
Ejemplo n.º 2
0
 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
 }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
        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);
        }