19 lines
424 B
C#
19 lines
424 B
C#
using UnityEngine;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace tysdk
|
|
{
|
|
public static class AppRequestReview
|
|
{
|
|
#if UNITY_EDITOR || UNITY_ANDROID
|
|
public static void RequestReview(string customReviewURL)
|
|
{
|
|
tysdk.UnityBridgeFunc.Review();
|
|
}
|
|
#elif UNITY_IOS
|
|
[DllImport("__Internal")]
|
|
public static extern void RequestReview(string customReviewURL);
|
|
#endif
|
|
}
|
|
}
|