From b3b62bacacf2e46f4ff3593e7ce9465939a952aa Mon Sep 17 00:00:00 2001 From: huyufei Date: Thu, 18 Apr 2024 17:42:45 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=9B=B4=E6=96=B0=20AppLovin=20?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=89=87=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Editor/AppLovinIntegrationManager.cs | 9 ++++++--- ...ppLovinMenuItems.cs => AppLovinMenuItems.cs.backup} | 0 ...uItems.cs.meta => AppLovinMenuItems.cs.backup.meta} | 10 +++------- 3 files changed, 9 insertions(+), 10 deletions(-) rename MaxSdk/Scripts/IntegrationManager/Editor/{AppLovinMenuItems.cs => AppLovinMenuItems.cs.backup} (100%) rename MaxSdk/Scripts/IntegrationManager/Editor/{AppLovinMenuItems.cs.meta => AppLovinMenuItems.cs.backup.meta} (52%) diff --git a/MaxSdk/Scripts/IntegrationManager/Editor/AppLovinIntegrationManager.cs b/MaxSdk/Scripts/IntegrationManager/Editor/AppLovinIntegrationManager.cs index 1536e66..09634ae 100644 --- a/MaxSdk/Scripts/IntegrationManager/Editor/AppLovinIntegrationManager.cs +++ b/MaxSdk/Scripts/IntegrationManager/Editor/AppLovinIntegrationManager.cs @@ -184,10 +184,13 @@ namespace AppLovinMax.Scripts.IntegrationManager.Editor /// /// Whether or not the plugin is under the Assets/ folder. /// +//--- INJECT PluginOutside START --- public static bool IsPluginOutsideAssetsDirectory - { - get { return !PluginParentDirectory.StartsWith("Assets"); } - } + { get => !(PluginParentDirectory.StartsWith("Assets") || PluginParentDirectory.StartsWith("Packages")); } +//--- INJECT PluginOutside OVER --- +// { +// get { return !PluginParentDirectory.StartsWith("Assets"); } +// } /// /// Whether or not gradle build system is enabled. diff --git a/MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs b/MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs.backup similarity index 100% rename from MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs rename to MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs.backup diff --git a/MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs.meta b/MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs.backup.meta similarity index 52% rename from MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs.meta rename to MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs.backup.meta index 30fb834..0749642 100644 --- a/MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs.meta +++ b/MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs.backup.meta @@ -1,14 +1,10 @@ fileFormatVersion: 2 -guid: 02c2d277874f649d18a59d382420bf65 +guid: 028aec80942df459ab226487b786042c labels: - al_max -- al_max_export_path-MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs -MonoImporter: +- al_max_export_path-MaxSdk/Scripts/IntegrationManager/Editor/AppLovinMenuItems.cs.backup +DefaultImporter: externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant: