How to add rating game button using unity

  • Change that ID  “com.xxtaklamakanxx.CarsDodger” with your ID ;
using UnityEngine;

public class RateGame : MonoBehaviour
{
    public void PressedRateButton()
    {
        #if UNITY_ANDROID
        Application.OpenURL("market://details?id=com.xxtaklamakanxx.CarsDodger");
        #endif
    }
}

Leave a Reply

Your email address will not be published. Required fields are marked *