摄像机区域的架构改动
This commit is contained in:
21
Assets/LWGUI-1.14.1/Editor/CustomGUISample/CustomFooter.cs
Normal file
21
Assets/LWGUI-1.14.1/Editor/CustomGUISample/CustomFooter.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
|
||||
namespace LWGUI.CustomGUISample
|
||||
{
|
||||
public static class CustomFooter
|
||||
{
|
||||
public static void DoCustomFooter(LWGUI lwgui)
|
||||
{
|
||||
// Draw your custom gui...
|
||||
|
||||
// Debug.Log(lwgui.shader);
|
||||
}
|
||||
|
||||
[InitializeOnLoadMethod]
|
||||
private static void RegisterEvent()
|
||||
{
|
||||
LWGUI.onDrawCustomFooter += DoCustomFooter;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 421a56cca25d486298053d5eeca0c669
|
||||
timeCreated: 1688612200
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 12f48d96821d4f33aa8d9a7618a9ae0b
|
||||
timeCreated: 1688613396
|
||||
Reference in New Issue
Block a user