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