mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update ClientGm.cs
This commit is contained in:
@@ -9,6 +9,7 @@ namespace GameLogic
|
|||||||
public delegate void HandleGM(List<string> @params);
|
public delegate void HandleGM(List<string> @params);
|
||||||
|
|
||||||
[Update]
|
[Update]
|
||||||
|
[LateUpdate]
|
||||||
public class GMBehaviourSystem : BehaviourSingleton<GMBehaviourSystem>
|
public class GMBehaviourSystem : BehaviourSingleton<GMBehaviourSystem>
|
||||||
{
|
{
|
||||||
public override void Active()
|
public override void Active()
|
||||||
@@ -17,14 +18,22 @@ namespace GameLogic
|
|||||||
base.Active();
|
base.Active();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void Start()
|
||||||
|
{
|
||||||
|
base.Start();
|
||||||
|
}
|
||||||
|
|
||||||
public override void Update()
|
public override void Update()
|
||||||
{
|
{
|
||||||
if (Input.GetKeyDown(KeyCode.F1))
|
if (Input.GetKeyDown(KeyCode.F1))
|
||||||
{
|
{
|
||||||
GameModule.UI.ShowUIAsync<GMPanel>();
|
GameModule.UI.ShowUIAsync<GMPanel>();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
;
|
public override void LateUpdate()
|
||||||
|
{
|
||||||
|
base.LateUpdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user