mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Change the TestEvent
This commit is contained in:
@@ -27,7 +27,7 @@ public partial class GameApp
|
|||||||
|
|
||||||
private static void StartGameLogic()
|
private static void StartGameLogic()
|
||||||
{
|
{
|
||||||
GameEvent.Get<ILoginUI>().ShowLoginUI(NetworkError.Ok);
|
GameEvent.Get<ILoginUI>().ShowLoginUI();
|
||||||
GameModule.UI.ShowUIAsync<BattleMainUI>();
|
GameModule.UI.ShowUIAsync<BattleMainUI>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ namespace GameLogic
|
|||||||
[EventInterface(EEventGroup.GroupUI)]
|
[EventInterface(EEventGroup.GroupUI)]
|
||||||
public interface ILoginUI
|
public interface ILoginUI
|
||||||
{
|
{
|
||||||
void ShowLoginUI(UnityEngine.Networking.NetworkError tNetworkError);
|
void ShowLoginUI();
|
||||||
|
|
||||||
void CloseLoginUI();
|
void CloseLoginUI();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user