| 1234567891011121314151617181920 |
- using UnityEngine;
- public sealed class AppRuntimesValidationStartup : MonoBehaviour
- {
- private async void Start()
- {
- #if UNITY_IOS
- System.GC.KeepAlive((System.Action)IAPWrapper.InitializeSK1);
- System.GC.KeepAlive((System.Action)IAPWrapper.InitializeSK2);
- System.GC.KeepAlive((System.Action)IAPWrapper.PurchaseConsumable);
- System.GC.KeepAlive((System.Action)IAPWrapper.PurchaseNonConsumable);
- System.GC.KeepAlive((System.Action)IAPWrapper.PurchaseSubscription);
- #endif
- Debug.Log(AppRuntimesStreamingAssets.GetPath("meta-logo.png"));
- AppRuntimes.Initialization();
- await AppRuntimes.CheckVersion();
- }
- }
|