Пример #1
0
 public static void setDeviceToken(string deviceToken)
 {
     if (!IsEditor())
     {
         AdjustAndroid.SetDeviceToken(deviceToken);
     }
 }
Пример #2
0
 public static void setDeviceToken(string deviceToken)
 {
     if (Adjust.IsEditor())
     {
         return;
     }
     AdjustAndroid.SetDeviceToken(deviceToken);
 }
Пример #3
0
 public static void setDeviceToken(string deviceToken)
 {
     if (!Application.isEditor)
     {
     #if UNITY_IOS
         AdjustiOS.SetDeviceToken(deviceToken);
     #elif UNITY_ANDROID
         AdjustAndroid.SetDeviceToken(deviceToken);
     #elif (UNITY_WSA || UNITY_WP8)
         AdjustWindows.SetDeviceToken(deviceToken);
     #else
         Debug.Log(errorMsgPlatform);
     #endif
     }
 }