How do I put a "Rate game" button?

I want to have a button on the start screen, that when pressed will get the player to the game’s page in order for the player to rate it. Could anyone please guide me on how this is done? Thanks :slight_smile:

I’m probably a bit late to the party, but why not do something like this:

#if UNITY_ANDROID
Application.OpenURL("market://details?id=YOUR_ID");
#elif UNITY_IPHONE
Application.OpenURL("itms-apps://itunes.apple.com/app/idYOUR_ID");
#endif

Seems like that is what most people do.

I don’t know if there’s anything in Unity, but you could write a simple plugin to do the native iOS code - given you said iTunes I’m presuming an iOS app?

The Unity Manual covers native code plugin creation here:

http://unity3d.com/support/documentation/Manual/Plugins.html

This page discusses the code for opening a URL:

This page discusses a pure native code example:

Good morning to all,

How do I know the player actually rated the game? So I can stop asking him to rate it.

The following will open a browser to the page you need.

if(GUILayout.Button(“TEXT”))
{

	Process pr = new Process();
	pr.StartInfo.FileName = "http://WHERETO";
	pr.StartInfo.Arguments = "";
	pr.StartInfo.UseShellExecute = true;
	pr.StartInfo.RedirectStandardOutput = false;
	pr.Start();

}

83512-icon-128-4.png
Check out the asset Unity Asset Store - The Best Assets for Game Making .

It will save you tons of time.

Using @usalalas’s Answer but also filling the id so we don’t need to manually type in the ID.
Tested and works on Android but haven’t tested on iPhone

#if UNITY_ANDROID
        Application.OpenURL(string.Format("market://details?id=" + Application.identifier));
#elif UNITY_IPHONE
        Application.OpenURL("itms-apps://itunes.apple.com/app/" + Application.identifier);
#endif