Files
tysdk-intergration/sdk-intergration/Packages/tysdk/Runtime/AppRequestReview.cs
2024-11-28 14:00:57 +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
}
}