From 7dcd33fd67c7ffe73e88c741bf9ef89ee04aa521 Mon Sep 17 00:00:00 2001 From: walon Date: Sun, 1 Sep 2024 11:17:38 +0800 Subject: [PATCH] =?UTF-8?q?[change]=20=E6=9B=B4=E6=96=B0package.json?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E9=93=BE=E6=8E=A5=EF=BC=8C=E5=9C=A8Editor?= =?UTF-8?q?=E6=96=B0=E5=A2=9ELuban=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Menu.cs | 17 +++++++++++++++++ Editor/Menu.cs.meta | 11 +++++++++++ package.json | 5 ++--- 3 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 Editor/Menu.cs create mode 100644 Editor/Menu.cs.meta diff --git a/Editor/Menu.cs b/Editor/Menu.cs new file mode 100644 index 0000000..f67fe00 --- /dev/null +++ b/Editor/Menu.cs @@ -0,0 +1,17 @@ +using UnityEditor; +using UnityEngine; + +namespace Luban.Editor +{ + public static class Menu + { + + [MenuItem("Luban/About", priority = 0)] + public static void OpenAbout() => Application.OpenURL("https://luban.doc.code-philosophy.com/docs/intro"); + + + [MenuItem("Luban/Quick Start")] + public static void OpenQuickStart() => Application.OpenURL("https://luban.doc.code-philosophy.com/docs/beginner/quickstart"); + } + +} \ No newline at end of file diff --git a/Editor/Menu.cs.meta b/Editor/Menu.cs.meta new file mode 100644 index 0000000..cd38ae9 --- /dev/null +++ b/Editor/Menu.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f52e7b7b0f4a2d14abf4f9ff4e0ad038 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/package.json b/package.json index e1e06e0..244e8fb 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,10 @@ { "name": "com.code-philosophy.luban", - "version": "1.0.0", + "version": "1.1.0", "displayName": "Luban", "description": "luban is a powerful, easy-to-use, elegant and stable game configuration solution.", "category": "Runtime", - "documentationUrl": "https://luban.doc.code-philosophy.com/#/", - "changelogUrl": "https://luban.doc.code-philosophy.com/#/other/changelog", + "documentationUrl": "https://luban.doc.code-philosophy.com/docs/intro", "licensesUrl": "https://github.com/focus-creative-games/luban_unity/blob/main/LICENSE", "keywords": [ "luban",