Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity iOS app rating widget

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 #iOS #app #rating #widget
ADD COMMENT
Topic
Name
8+2 =