YanCheng_Metrology/Assets/Framework/Scripts/Runtime/Module/Module.Console/GameModuleWindow.cs

21 lines
447 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MotionFramework.Console
{
[ConsoleAttribute("游戏模块", 100)]
internal class GameModuleWindow : IConsoleWindow
{
// GUI相关
private Vector2 _scrollPos = Vector2.zero;
void IConsoleWindow.OnGUI()
{
_scrollPos = ConsoleGUI.BeginScrollView(_scrollPos);
MotionEngine.DrawModulesGUIContent();
ConsoleGUI.EndScrollView();
}
}
}