初始化仓库
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
//------------------------------------------------------------
|
||||
// Game Framework
|
||||
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
|
||||
// Homepage: https://gameframework.cn/
|
||||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace UnityGameFramework.Editor
|
||||
{
|
||||
/// <summary>
|
||||
/// 帮助相关的实用函数。
|
||||
/// </summary>
|
||||
public static class Help
|
||||
{
|
||||
[MenuItem("Game Framework/Documentation", false, 90)]
|
||||
public static void ShowDocumentation()
|
||||
{
|
||||
ShowHelp("https://gameframework.cn/document/");
|
||||
}
|
||||
|
||||
[MenuItem("Game Framework/API Reference", false, 91)]
|
||||
public static void ShowApiReference()
|
||||
{
|
||||
ShowHelp("https://gameframework.cn/api/");
|
||||
}
|
||||
|
||||
private static void ShowHelp(string uri)
|
||||
{
|
||||
Application.OpenURL(uri);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user