diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..a4ff303b Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index 251a7b61..df9d9141 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,9 @@ ### 1: Download the repo and drop it into folder `Assets` ### 2: Add the line below to `Packages/manifest.json` -for version `3.0.2` +for version `3.0.3` ```csharp -"com.virtuesky.sunflower":"https://github.com/VirtueSky/sunflower.git#3.0.2", +"com.virtuesky.sunflower":"https://github.com/VirtueSky/sunflower.git#3.0.3", ``` ## Includes modules diff --git a/VirtueSky/.DS_Store b/VirtueSky/.DS_Store index 3cc057e5..997dc888 100644 Binary files a/VirtueSky/.DS_Store and b/VirtueSky/.DS_Store differ diff --git a/VirtueSky/Advertising/Editor/AdSettingEditor.cs b/VirtueSky/Advertising/Editor/AdSettingEditor.cs index 274616cd..377a1ded 100644 --- a/VirtueSky/Advertising/Editor/AdSettingEditor.cs +++ b/VirtueSky/Advertising/Editor/AdSettingEditor.cs @@ -15,7 +15,6 @@ public class AdSettingEditor : Editor private SerializedProperty _adLoadingInterval; private SerializedProperty _sdkKey; - private SerializedProperty _applovinEnableAgeRestrictedUser; private SerializedProperty _maxBannerVariable; private SerializedProperty _maxInterVariable; @@ -53,8 +52,6 @@ void Initialize() _adLoadingInterval = serializedObject.FindProperty("adLoadingInterval"); _sdkKey = serializedObject.FindProperty("sdkKey"); - _applovinEnableAgeRestrictedUser = - serializedObject.FindProperty("applovinEnableAgeRestrictedUser"); _maxBannerVariable = serializedObject.FindProperty("maxBannerVariable"); _maxInterVariable = serializedObject.FindProperty("maxInterVariable"); _maxRewardVariable = serializedObject.FindProperty("maxRewardVariable"); @@ -126,7 +123,6 @@ void SetupMax() GuiLine(1); GUILayout.Space(10); EditorGUILayout.PropertyField(_sdkKey); - EditorGUILayout.PropertyField(_applovinEnableAgeRestrictedUser); EditorGUILayout.BeginHorizontal(); EditorGUILayout.PropertyField(_maxBannerVariable); if (_maxBannerVariable.objectReferenceValue == null) diff --git a/VirtueSky/Advertising/Runtime/General/AdSetting.cs b/VirtueSky/Advertising/Runtime/General/AdSetting.cs index f9a95c88..1b1c49d3 100644 --- a/VirtueSky/Advertising/Runtime/General/AdSetting.cs +++ b/VirtueSky/Advertising/Runtime/General/AdSetting.cs @@ -34,7 +34,6 @@ public AdNetwork CurrentAdNetwork #region AppLovin [TextArea, SerializeField] private string sdkKey; - [SerializeField] private bool applovinEnableAgeRestrictedUser; [SerializeField] private MaxBannerVariable maxBannerVariable; [SerializeField] private MaxInterVariable maxInterVariable; [SerializeField] private MaxRewardVariable maxRewardVariable; @@ -42,7 +41,6 @@ public AdNetwork CurrentAdNetwork [SerializeField] private MaxAppOpenVariable maxAppOpenVariable; public string SdkKey => sdkKey; - public bool ApplovinEnableAgeRestrictedUser => applovinEnableAgeRestrictedUser; public MaxBannerVariable MaxBannerVariable => maxBannerVariable; public MaxInterVariable MaxInterVariable => maxInterVariable; public MaxRewardVariable MaxRewardVariable => maxRewardVariable; diff --git a/VirtueSky/Advertising/Runtime/Max/MaxClient/MaxAdClient.cs b/VirtueSky/Advertising/Runtime/Max/MaxClient/MaxAdClient.cs index b303fb28..9468c13e 100644 --- a/VirtueSky/Advertising/Runtime/Max/MaxClient/MaxAdClient.cs +++ b/VirtueSky/Advertising/Runtime/Max/MaxClient/MaxAdClient.cs @@ -10,7 +10,6 @@ public override void Initialize() #if VIRTUESKY_ADS && VIRTUESKY_APPLOVIN MaxSdk.SetSdkKey(adSetting.SdkKey); MaxSdk.InitializeSdk(); - MaxSdk.SetIsAgeRestrictedUser(adSetting.ApplovinEnableAgeRestrictedUser); adSetting.MaxBannerVariable.Init(); adSetting.MaxInterVariable.Init(); adSetting.MaxRewardVariable.Init(); diff --git a/VirtueSky/ControlPanel/ConstantPackage.cs b/VirtueSky/ControlPanel/ConstantPackage.cs index 218f1a38..4be8329b 100644 --- a/VirtueSky/ControlPanel/ConstantPackage.cs +++ b/VirtueSky/ControlPanel/ConstantPackage.cs @@ -2,7 +2,7 @@ { public class ConstantPackage { - public const string VersionSunflower = "3.0.2"; + public const string VersionSunflower = "3.0.3"; public const string PackageNameInAppPurchase = "com.unity.purchasing"; public const string MaxVersionInAppPurchase = "4.12.2"; public const string PackageNameNewtonsoftJson = "com.unity.nuget.newtonsoft-json"; diff --git a/VirtueSky/Utils/Editor/.DS_Store b/VirtueSky/Utils/Editor/.DS_Store index 293dacc9..6096d3c1 100644 Binary files a/VirtueSky/Utils/Editor/.DS_Store and b/VirtueSky/Utils/Editor/.DS_Store differ diff --git a/package.json b/package.json index e8c2ffe2..6259ccc3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "com.virtuesky.sunflower", "displayName": "Sunflower", "description": "Core ScriptableObject Architecture for building Unity games", - "version": "3.0.2", + "version": "3.0.3", "unity": "2022.3", "category": "virtuesky", "license": "MIT",