Exemple #1
0
 public void askForReview(string appName, string bundleId, int launchCount, int hoursBetweenPrompts)
 {
     #if UNITY_ANDROID
     EtceteraAndroid.askForReview(3, 0, 3, "Review " + appName + "!", "Review " + appName + " if you like it.", false);
     #elif UNITY_IPHONE
     EtceteraBinding.askForReview(launchCount, hoursBetweenPrompts,
                                  "Review " + appName + "!", "Review " + appName + " if you like it.", bundleId);
     #endif
 }
Exemple #2
0
    void Awake()
    {
        P31Prefs.setInt("level1", 1);
        mainCamera = this.gameObject;

#if UNITY_ANDROID
        EtceteraAndroid.askForReview(1, 1, 2, "Do you like this game?", "Please review the game if you do!", false);
#endif
#if UNITY_IOS
        EtceteraBinding.askForReview(1, 0.5f, "Do you like this game?", "Please review the game if you do!", "950049277");
#endif
    }