コード例 #1
0
 public static void setEnabled(bool enabled)
 {
     if (!IsEditor())
     {
         AdjustAndroid.SetEnabled(enabled);
     }
 }
コード例 #2
0
ファイル: Adjust.cs プロジェクト: laijingquan/pixedArtProj
 public static void setEnabled(bool enabled)
 {
     if (Adjust.IsEditor())
     {
         return;
     }
     AdjustAndroid.SetEnabled(enabled);
 }
コード例 #3
0
ファイル: Adjust.cs プロジェクト: Ben0hongmoe/unity_sdk
 public static void setEnabled(bool enabled)
 {
     if (!Application.isEditor)
     {
     #if UNITY_IOS
         AdjustiOS.SetEnabled(enabled);
     #elif UNITY_ANDROID
         AdjustAndroid.SetEnabled(enabled);
     #elif (UNITY_WSA || UNITY_WP8)
         AdjustWindows.SetEnabled(enabled);
     #else
         Debug.Log(errorMsgPlatform);
     #endif
     }
 }