Skip to content

Commit 444819a

Browse files
committed
[修复]1. 修复UI路径异常
1 parent fce4eab commit 444819a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assets/Hotfix/UI/Logic/UILogin/UILogin.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ private async void Login()
7676
var respPlayerList = await networkChannel.Call<RespPlayerList>(reqPlayerList);
7777
if (respPlayerList.PlayerList.Count > 0)
7878
{
79-
await GameApp.UI.OpenUIFormAsync<UIPlayerList>(Utility.Asset.Path.GetUIPackagePath(FUIPackage.UILogin), UIGroupConstants.Floor.Name, respLogin);
79+
await GameApp.UI.OpenUIFormAsync<UIPlayerList>(Utility.Asset.Path.GetUIPath(FUIPackage.UILogin), UIGroupConstants.Floor.Name, respLogin);
8080
}
8181
else
8282
{
83-
await GameApp.UI.OpenUIFormAsync<UIPlayerCreate>(Utility.Asset.Path.GetUIPackagePath(FUIPackage.UILogin), UIGroupConstants.Floor.Name, respLogin);
83+
await GameApp.UI.OpenUIFormAsync<UIPlayerCreate>(Utility.Asset.Path.GetUIPath(FUIPackage.UILogin), UIGroupConstants.Floor.Name, respLogin);
8484
}
8585

86-
await GameApp.UI.OpenUIFormAsync<UIMain>(Utility.Asset.Path.GetUIPackagePath(FUIPackage.UIMain), UIGroupConstants.Floor.Name);
86+
await GameApp.UI.OpenUIFormAsync<UIMain>(Utility.Asset.Path.GetUIPath(FUIPackage.UIMain), UIGroupConstants.Floor.Name);
8787
GameApp.UI.CloseUIForm(UIForm);
8888
}
8989

0 commit comments

Comments
 (0)