[change] 更新package.json中的链接,在Editor新增Luban菜单

This commit is contained in:
walon 2024-09-01 11:17:38 +08:00
parent de0348c453
commit 7dcd33fd67
3 changed files with 30 additions and 3 deletions

17
Editor/Menu.cs Normal file
View File

@ -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");
}
}

11
Editor/Menu.cs.meta Normal file
View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f52e7b7b0f4a2d14abf4f9ff4e0ad038
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -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",