private static void Start(string action, InterstitialType type) { PlayAdsSDK.EnsureInstance(); if (!PlayAdsSDK.initializing) { PlayAdsSDK.initializing = true; PlayAdsSDK.waitingAction = action; PlayAdsSDK.waitingType = type; string appID = ""; string secretToken = ""; #if UNITY_IPHONE appID = PlayAdsSDKSettings.IOSAppID; secretToken = PlayAdsSDKSettings.IOSSecretToken; #elif UNITY_ANDROID appID = PlayAdsSDKSettings.AndroidAppID; secretToken = PlayAdsSDKSettings.AndroidSecretToken; #endif PlayAdsSDK.PlayAdsSDKStart(appID, secretToken, INSTANCE_NAME); } }