Skip to content

Commit

Permalink
Merge pull request #32 from unity-package/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
VirtueSky authored Jan 14, 2025
2 parents 4bf4550 + a318039 commit 939685f
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Module/Button/Runtime/ButtonCustom.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace VirtueSky.UIButton
{
[EditorIcon("icon_button")]
public class ButtonCustom : Button
public abstract class ButtonCustom : Button
{
[HeaderLine("Motion", false, CustomColor.Aquamarine, CustomColor.Bright)] [SerializeField]
private bool invokeClickButton = true;
Expand Down
10 changes: 7 additions & 3 deletions Module/ControlPanel/CPLevelEditorDrawer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,14 @@ public static void ClearPreviews()

public static void ClearPreview(GameObject go)
{
if (previewDict?.TryGetValue(go, out var tex) ?? false)
if (previewDict != null)
{
UnityEngine.Object.DestroyImmediate(tex);
previewDict.Remove(go);
foreach (var kvp in previewDict.ToList())
{
previewDict[kvp.Key] = null;
}

previewDict.Clear();
}
}

Expand Down
22 changes: 11 additions & 11 deletions Module/ControlPanel/ConstantPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
public class ConstantPackage
{
public const string VersionUnityCommon = "1.4.9";
public const string VersionUnityCommon = "1.5.0";
public const string PackageNameInAppPurchase = "com.unity.purchasing";
public const string MaxVersionInAppPurchase = "4.12.2";
public const string PackageNameNewtonsoftJson = "com.unity.nuget.newtonsoft-json";
Expand Down Expand Up @@ -44,35 +44,35 @@ public class ConstantPackage
public const string PackageNameFirebaseApp = "com.google.firebase.app";

public const string MaxVersionFirebaseApp =
"https://github.com/firebase-unity/firebase-app.git#12.4.1";
"https://github.com/firebase-unity/firebase-app.git#12.5.0";

public const string PackageNameFirebaseRemoteConfig = "com.google.firebase.remote-config";

public const string MaxVersionFirebaseRemoteConfig =
"https://github.com/firebase-unity/firebase-remote-config.git#12.4.1";
"https://github.com/firebase-unity/firebase-remote-config.git#12.5.0";

public const string PackageNameFirebaseAnalytics = "com.google.firebase.analytics";

public const string MaxVersionFirebaseAnalytics =
"https://github.com/firebase-unity/firebase-analytics.git#12.4.1";
"https://github.com/firebase-unity/firebase-analytics.git#12.5.0";

public const string PackageNameFirebaseDatabase = "com.google.firebase.database";

public const string MaxVersionFirebaseDatabase =
"https://github.com/firebase-unity/firebase-database.git#12.4.1";
"https://github.com/firebase-unity/firebase-database.git#12.5.0";

public const string PackageNameFirebaseAuth = "com.google.firebase.auth";
public const string MaxVersionFirebaseAuth = "https://github.com/firebase-unity/firebase-auth.git#12.4.1";
public const string MaxVersionFirebaseAuth = "https://github.com/firebase-unity/firebase-auth.git#12.5.0";

public const string PackageNameFirebaseCrashlytics = "com.google.firebase.crashlytics";

public const string MaxVersionFirebaseCrashlytics =
"https://github.com/firebase-unity/firebase-crashlytics.git#12.4.1";
"https://github.com/firebase-unity/firebase-crashlytics.git#12.5.0";

public const string PackageNameFirebaseSupportIos = "com.google.firebase.support-ios";

public const string MaxVersionFirebaseSupportIos =
"https://github.com/firebase-unity/firebase-support-ios.git#12.4.1";
"https://github.com/firebase-unity/firebase-support-ios.git#12.5.0";

#endregion

Expand All @@ -97,16 +97,16 @@ public class ConstantPackage
public const string PackageNameCoffeeUIEffect = "com.coffee.ui-effect";

public const string MaxVersionCoffeeUIEffect =
"https://github.com/mob-sakai/UIEffect.git?path=Packages/src#5.0.2";
"https://github.com/mob-sakai/UIEffect.git?path=Packages/src#5.2.0";

public const string PackageNameCoffeeUIParticle = "com.coffee.ui-particle";

public const string MaxVersionCoffeeUIParticle =
"https://github.com/mob-sakai/ParticleEffectForUGUI.git#4.10.5";
"https://github.com/mob-sakai/ParticleEffectForUGUI.git#4.10.6";

public const string PackageNameAppleSignIn = "com.lupidan.apple-signin-unity";

public const string MaxVersionAppleSignIn = "https://github.com/lupidan/apple-signin-unity.git#v1.4.3";
public const string MaxVersionAppleSignIn = "https://github.com/lupidan/apple-signin-unity.git#v1.4.4";
//public const string PackageNameAnimancer = "com.virtuesky.animancer";
//public const string MaxVersionAnimancer = "https://github.com/VirtueSky/animancer-unity.git#7.0.0";

Expand Down
4 changes: 2 additions & 2 deletions Module/Utils/Editor/UnityPackage/Note_Package.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- Version Max Sdk: 8.0.0
- Version Admob Sdk: v9.5.0
- Version IronSource Sdk: v8.4.0
- Version Google Game Play Service: v11.01
- Version IronSource Sdk: v8.5.1
- Version Google Game Play Service: v2.0.0
Binary file modified Module/Utils/Editor/UnityPackage/google-play-game.unitypackage
Binary file not shown.
Binary file modified Module/Utils/Editor/UnityPackage/is-sdk.unitypackage
Binary file not shown.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `1.4.9`
for version `1.5.0`
```csharp
"com.wolf-org.sunflower2":"https://github.com/unity-package/sunflower_2.git#1.4.9",
"com.wolf-org.sunflower2":"https://github.com/unity-package/sunflower_2.git#1.5.0",
```

## Includes modules
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.wolf-org.sunflower2",
"displayName": "Sunflower2",
"description": "Core singleton for building Unity games ",
"version": "1.4.9",
"version": "1.5.0",
"unity": "2022.3",
"category": "virtuesky",
"license": "MIT",
Expand Down

0 comments on commit 939685f

Please sign in to comment.