摄像机区域的架构改动
This commit is contained in:
21
Assets/LWGUI-1.14.1/Editor/CustomGUISample/CustomHeader.cs
Normal file
21
Assets/LWGUI-1.14.1/Editor/CustomGUISample/CustomHeader.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
|
||||
namespace LWGUI.CustomGUISample
|
||||
{
|
||||
public static class CustomHeader
|
||||
{
|
||||
public static void DoCustomHeader(LWGUI lwgui)
|
||||
{
|
||||
// Draw your custom gui...
|
||||
|
||||
// Debug.Log(lwgui.shader);
|
||||
}
|
||||
|
||||
[InitializeOnLoadMethod]
|
||||
private static void RegisterEvent()
|
||||
{
|
||||
LWGUI.onDrawCustomHeader += DoCustomHeader;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user