1
This commit is contained in:
@@ -15,7 +15,7 @@ public class UICreateWindow : EditorWindow
|
|||||||
{
|
{
|
||||||
#region MenuItem
|
#region MenuItem
|
||||||
|
|
||||||
[MenuItem("Assets/Create/CreateUI")]
|
[MenuItem("Assets/Evo/UI工具/CreateUI")]
|
||||||
private static void CopyUI()
|
private static void CopyUI()
|
||||||
{
|
{
|
||||||
if (Selection.activeObject == null || !(Selection.activeObject is GameObject))
|
if (Selection.activeObject == null || !(Selection.activeObject is GameObject))
|
||||||
@@ -27,7 +27,7 @@ public class UICreateWindow : EditorWindow
|
|||||||
UICreateWindow.OpenWindow().uiPrefab = Selection.activeObject as GameObject;
|
UICreateWindow.OpenWindow().uiPrefab = Selection.activeObject as GameObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MenuItem("Tools/UI管理")]
|
[MenuItem("Evo/UI管理")]
|
||||||
public static UICreateWindow OpenWindow()
|
public static UICreateWindow OpenWindow()
|
||||||
{
|
{
|
||||||
var window = GetWindow<UICreateWindow>("UI管理");
|
var window = GetWindow<UICreateWindow>("UI管理");
|
||||||
@@ -91,7 +91,7 @@ public class UICreateWindow : EditorWindow
|
|||||||
}
|
}
|
||||||
private void OnGUI()
|
private void OnGUI()
|
||||||
{
|
{
|
||||||
EditorGUILayout.LabelField("通过[Tools/UI管理]可以打开");
|
EditorGUILayout.LabelField("通过[Evo/UI管理]可以打开");
|
||||||
_scroll = EditorGUILayout.BeginScrollView(_scroll);
|
_scroll = EditorGUILayout.BeginScrollView(_scroll);
|
||||||
{
|
{
|
||||||
EditorGUILayout.HelpBox("UI基础文件", MessageType.Info);
|
EditorGUILayout.HelpBox("UI基础文件", MessageType.Info);
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "com.staryevo.uifarme",
|
"name": "com.staryevo.uifarme",
|
||||||
"displayName": "06.UIFarme",
|
"displayName": "06.UIFarme",
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"description": "UI框架工具",
|
"description": "UI框架工具",
|
||||||
"unity": "2021.3",
|
"unity": "2021.3",
|
||||||
"unityRelease": "30f1",
|
"unityRelease": "30f1",
|
||||||
|
|||||||
Reference in New Issue
Block a user