File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ private async void Login()
5757 Password = m_Password . text ,
5858 Device = SystemInfo . deviceUniqueIdentifier
5959 } ;
60- req . Platform = PathHelper . GetPlatformName ;
60+ req . Platform = ApplicationHelper . PlatformName ;
6161
6262 var respLogin = await GameApp . Web . Post < RespLogin > ( $ "http://127.0.0.1:28080/game/api/{ nameof ( ReqLogin ) . ConvertToSnakeCase ( ) } ", req ) ;
6363 if ( respLogin . ErrorCode > 0 )
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace Hotfix.UI
1414 /// 代码生成的UI代码UILogin
1515 /// </summary>
1616 [ DisallowMultipleComponent ]
17- [ OptionUIConfig ( null , "Assets/Bundles/UI/UILogin/UILogin.prefab " ) ]
17+ [ OptionUIConfig ( null , "Assets/Bundles/UI/UILogin" ) ]
1818 public sealed partial class UILogin : UGUI
1919 {
2020 public GameObject self { get ; private set ; }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace Hotfix.UI
1414 /// 代码生成的UI代码UIMain
1515 /// </summary>
1616 [ DisallowMultipleComponent ]
17- [ OptionUIConfig ( null , "Assets/Bundles/UI/UIMain/UIMain.prefab " ) ]
17+ [ OptionUIConfig ( null , "Assets/Bundles/UI/UIMain" ) ]
1818 public sealed partial class UIMain : UGUI
1919 {
2020 public GameObject self { get ; private set ; }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace Hotfix.UI
1414 /// 代码生成的UI代码UIPlayerCreate
1515 /// </summary>
1616 [ DisallowMultipleComponent ]
17- [ OptionUIConfig ( null , "Assets/Bundles/UI/UILogin/UIPlayerCreate.prefab " ) ]
17+ [ OptionUIConfig ( null , "Assets/Bundles/UI/UILogin" ) ]
1818 public sealed partial class UIPlayerCreate : UGUI
1919 {
2020 public GameObject self { get ; private set ; }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace Hotfix.UI
1414 /// 代码生成的UI代码UIPlayerList
1515 /// </summary>
1616 [ DisallowMultipleComponent ]
17- [ OptionUIConfig ( null , "Assets/Bundles/UI/UILogin/UIPlayerList.prefab " ) ]
17+ [ OptionUIConfig ( null , "Assets/Bundles/UI/UILogin" ) ]
1818 public sealed partial class UIPlayerList : UGUI
1919 {
2020 public GameObject self { get ; private set ; }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace Hotfix.UI
1414 /// 代码生成的UI代码UIPlayerListItem
1515 /// </summary>
1616 [ DisallowMultipleComponent ]
17- [ OptionUIConfig ( null , "Assets/Bundles/UI/UILogin/UIPlayerListItem.prefab " ) ]
17+ [ OptionUIConfig ( null , "Assets/Bundles/UI/UILogin" ) ]
1818 public sealed partial class UIPlayerListItem : UGUI
1919 {
2020 public GameObject self { get ; private set ; }
You can’t perform that action at this time.
0 commit comments