Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

rating iOS game in unity

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
*/
Comment

PREVIOUS NEXT
Code Example
Csharp :: unity in app review 
Csharp :: copy file 
Csharp :: c# close all threads application exit 
Csharp :: c# exists in list 
Csharp :: C#: casting string to enum object 
Csharp :: transform.rotate unity 2d 
Csharp :: how to print a variable in c# 
Csharp :: c# optional parameters using 
Csharp :: how to check if a number is prime or not c# 
Csharp :: do loop c# 
Csharp :: unity ik nothing is happening 
Csharp :: c# web page show 2nd page of tiff on an image control 
Csharp :: c# .net stringify data query 
Csharp :: Dominosteine c# 
Html :: html meta refresh 
Html :: font awesome icon 6 cdn 
Html :: multipart form 
Html :: how to stop download option in video tag of HTML 
Html :: how to run vscode as root 
Html :: verbalna komunikacija 
Html :: make element disappear on smaller screens in bootstrap 
Html :: commnet in html 
Html :: open link in new tab html 
Html :: horizontal line html react 
Html :: html make file input only images 
Html :: link javascript to html 
Html :: html preselected radio button 
Html :: svg line 
Html :: accept zip codes in html 
Html :: include favicon into website 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =