// Starts up the SDK with the given appId private void Initialize(string appId) { VungleSDKConfig config = new VungleSDKConfig(); if (Vungle.minimumDiskSpaceForInitialization.HasValue) { config.SetMinimumDiskSpaceForInit(Vungle.minimumDiskSpaceForInitialization.Value); } if (Vungle.minimumDiskSpaceForAd.HasValue) { config.SetMinimumDiskSpaceForAd(Vungle.minimumDiskSpaceForAd.Value); } if (Vungle.enableHardwareIdPrivacy.HasValue) { config.SetDisableAshwidTracking(Vungle.enableHardwareIdPrivacy.Value); } config.SetPluginName("unity"); config.SetPluginVersion(Vungle.PluginVersion); config.SetApiEndpoint(new Uri(endpoint)); sdk = AdFactory.GetInstance(appId, config); sdk.AddOnEvent(VungleManager.OnEvent); VungleSceneLoom.Initialize(); }