This commit is contained in:
corn
2026-06-07 22:59:32 +08:00
commit a62ff7379b
7171 changed files with 10015624 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#if UNITY_IOS
using System.Runtime.InteropServices;
/// <summary>
/// This class has been deprecated and will be removed in a future release
/// </summary>
public class MaxUserServiceiOS
{
private static readonly MaxUserServiceiOS _instance = new MaxUserServiceiOS();
public static MaxUserServiceiOS Instance
{
get { return _instance; }
}
[System.Obsolete("This version of the iOS consent flow has been deprecated as of MAX Unity Plugin v4.0.0 + iOS SDK v7.0.0, please refer to our documentation for enabling the new consent flow.")]
public void PreloadConsentDialog() {}
[DllImport("__Internal")]
private static extern void _MaxShowConsentDialog();
[System.Obsolete("This version of the iOS consent flow has been deprecated as of MAX Unity Plugin v4.0.0 + iOS SDK v7.0.0, please refer to our documentation for enabling the new consent flow.")]
public void ShowConsentDialog()
{
_MaxShowConsentDialog();
}
}
#endif