Files
back_cantanBuilding/Packages/tysdk/Runtime/AppRequestReview.cs
2026-05-26 16:15:54 +08:00

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
}
}