Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity rate

using UnityEngine;
#if UNITY_IOS
using UnityEngine.iOS;
#endif

public class RateManager : MonoBehaviour
{
    public void RequestRateGame(){
#if UNITY_IOS
        Device.RequestStoreReview();   //displaying in app review widget
#endif
    }
}

/*
Note: this code works only for iOS
*/
 
PREVIOUS NEXT
Tagged: #unity #rate
ADD COMMENT
Topic
Name
5+4 =