mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
支持Unity6
This commit is contained in:
@@ -25,7 +25,7 @@ namespace TEngine
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
internal static readonly float DefaultWindowScale = 1.5f;
|
internal static readonly float DefaultWindowScale = 1.5f;
|
||||||
|
|
||||||
private static readonly TextEditor s_TextEditor = new TextEditor();
|
private static TextEditor s_TextEditor = null;
|
||||||
private IDebuggerManager _debuggerManager = null;
|
private IDebuggerManager _debuggerManager = null;
|
||||||
private Rect m_DragRect = new Rect(0f, 0f, float.MaxValue, 25f);
|
private Rect m_DragRect = new Rect(0f, 0f, float.MaxValue, 25f);
|
||||||
private Rect m_IconRect = DefaultIconRect;
|
private Rect m_IconRect = DefaultIconRect;
|
||||||
@@ -146,6 +146,7 @@ namespace TEngine
|
|||||||
protected override void Awake()
|
protected override void Awake()
|
||||||
{
|
{
|
||||||
base.Awake();
|
base.Awake();
|
||||||
|
s_TextEditor = new TextEditor();
|
||||||
_eventSystem = GameObject.Find("UIRoot/EventSystem");
|
_eventSystem = GameObject.Find("UIRoot/EventSystem");
|
||||||
_debuggerManager = ModuleImpSystem.GetModule<IDebuggerManager>();
|
_debuggerManager = ModuleImpSystem.GetModule<IDebuggerManager>();
|
||||||
if (_debuggerManager == null)
|
if (_debuggerManager == null)
|
||||||
|
Reference in New Issue
Block a user