Skip to content

Commit

Permalink
1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunasawa committed Aug 19, 2024
1 parent 804cfaf commit 615cec4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Setups/EditorManifest.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if false
#if UNITY_EDITOR
using System.Collections.Generic;
using System.IO;
Expand Down Expand Up @@ -123,4 +124,5 @@ public static T LoadNewtonJson<T>(string path, Action<T> complete = null, Action
}
}
}
#endif
#endif
9 changes: 6 additions & 3 deletions Setups/YNLEditorSetup.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#if UNITY_EDITOR
using System.Linq;
using UnityEditor;
using UnityEngine;

namespace YNL.Editors.Setups
{
Expand All @@ -21,9 +22,11 @@ private static void OnPostprocessAllAssets(string[] importedAssets, string[] del

public static void InitializeOnLoad()
{
EditorManifest.AddRegistry("YunasawaStudio", "https://package.openupm.com", "com.yunasawa.ynl.utilities");
EditorManifest.AddDependency("com.yunasawa.ynl.utilities", "1.3.2");
EditorDefineSymbols.AddSymbols("YNL_UTILITIES");
#if YNL_UTILITIES
Debug.Log($"<color=#FF983D><b>⚠ Caution:</b></color> <color=#fffc54><b>YNL - Editor</b></color> requires <a href=\"https://github.com/Yunasawa/YNL-Utilities\"><b>YNL - Utilities</b></a>");
#else
EditorDefineSymbols.AddSymbols("YNL_EDITOR");
#endif
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.yunasawa.ynl.editor",
"displayName": "YNL - Editor",
"version": "1.4.10",
"version": "1.5.1",
"unity": "2022.3",
"description": "YNL - Editor provides you tools to help you on your developing progress.",
"keywords": [
Expand Down

0 comments on commit 615cec4

Please sign in to comment.