Unity Sub Window by Ezharjan - 9

ToolsExtensions

Stores here is the 3rd-party-tool-scripts for Unity Editor for making it more flexible to use.

Unity 2018.4.16f1Unknown LicenseUpdated 31 days agoCreated on May 3rd, 2020
Go to source

UnitySubWindow

一项简单的Unity Editor Window布局扩展工具,主要实现了基于树结构的子窗体系统,并通过反射的方式获得各窗口绘制方法,只需简单的添加Attribute即可方便的绘制一个子窗口。

示例1

示例:

[EWSubWindow("SunWinA", EWSubWindowIcon.Game)]
private void SubWinA(Rect main)
{
	GUI.Label(new Rect(main.x, main.y, main.width, 20), "SubWinA");

}

[EWSubWindow("Grid", EWSubWindowIcon.Game, true, SubWindowStyle.Grid)]
private void SubWinA(Rect main)
{
	if (GUI.Button(new Rect(main.x, main.y, 100, 20), "Btn"))
	{

	}
}

更新:

1.自定义子窗体图标

2.增加Preview样式和Grid样式

3.helpbox和toolbar

4.自定义ToolBar和MsgBox

5.保存Layout

5.自定义子窗体Drawer

6.子窗体Drawer生命周期

7.支持子窗体锁定和自定义右上角下拉框接口

6.子窗体序列化支持

7.自定义MsgBox Drawer

8.动态添加窗口

Show all projects by Ezharjan