Ejemplo n.º 1
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
     }
 }