How do I call a pop up that says “Rate the game” and then takes the user to the game rating section of the app?
The front end part of this is probably as simple as using the GUI system to show a button and then calling Application.LoadLevel to visit the rating screen:-
function OnGUI() {
if (GUI.Button(buttonRect, "Rate this game")) {
Application.LoadLevel("Rate");
}
}
Do you already have the rating system established? If not, can you give more detail about what it needs to do?
Because you posted your question in this forum, I assume you want to prompt the user to enter an Apple App Store rating, my apologies if that’s not what you meant.
This article, Increase Your App Ratings On The App Store, explains how to pop up a prompt to rate an application. It’s written in Objective-C code which you can call from a Unity plug-in.
I wrote an article, An Experiment with iPhone Native UI and Unity 3 Pro ,that explains a way to integrate native iPhone UI with Unity. It can help you with figuring out how to call the rating pop up from a Unity plug-in.
At the end of my article there is a link to a more generic (and better) way to integrate iPhone native UI. Here is the link, Unity plugin to handle loading native Cocoa UI’s with ease.
any way to get a please rate pop up with Unity 1.7.1?
What unity plug-in lets you use objective-c?
objc is another language and you require iphone advanced / unity iphone 3 to bind external c code (see iphone documentation - advanced topics - plugins)