private static void CheckConfiguration() { Delegate arg_22_0 = EditorApplication.update; if (GenerateXmlFromGoogleServicesJson.f__mgcacheB == null) { GenerateXmlFromGoogleServicesJson.f__mgcacheB = new EditorApplication.CallbackFunction(GenerateXmlFromGoogleServicesJson.CheckConfiguration); } EditorApplication.update = (EditorApplication.CallbackFunction)Delegate.Remove(arg_22_0, GenerateXmlFromGoogleServicesJson.f__mgcacheB); GenerateXmlFromGoogleServicesJson.UpdateConfigFileDirectory(); if (GenerateXmlFromGoogleServicesJson.XMLGenerationEnabled) { GenerateXmlFromGoogleServicesJson.UpdateJsonWithBundleIdChooserDialog(UnityCompat.ApplicationId, false); } else { GenerateXmlFromGoogleServicesJson.UpdateJson(false, null, null); } }
private static void OnBundleIdChanged(object sender, PlayServicesResolver.BundleIdChangedEventArgs args) { GenerateXmlFromGoogleServicesJson.UpdateJsonWithBundleIdChooserDialog(args.BundleId, true); }