diff --git a/Assets/Hotfix/UI/Logic/UILogin/UILogin.cs b/Assets/Hotfix/UI/Logic/UILogin/UILogin.cs index 713fa7a..9889fc5 100644 --- a/Assets/Hotfix/UI/Logic/UILogin/UILogin.cs +++ b/Assets/Hotfix/UI/Logic/UILogin/UILogin.cs @@ -1,7 +1,9 @@ using System.Net; using GameFrameX; using GameFrameX.Event.Runtime; +#if ENABLE_UI_FAIRYGUI using GameFrameX.UI.FairyGUI.Runtime; +#endif using GameFrameX.Network.Runtime; using GameFrameX.Runtime; using GameFrameX.UI.Runtime; diff --git a/Assets/Hotfix/UI/Logic/UILogin/UIPlayerCreate.cs b/Assets/Hotfix/UI/Logic/UILogin/UIPlayerCreate.cs index de9b632..d6daf1c 100644 --- a/Assets/Hotfix/UI/Logic/UILogin/UIPlayerCreate.cs +++ b/Assets/Hotfix/UI/Logic/UILogin/UIPlayerCreate.cs @@ -1,5 +1,7 @@ using GameFrameX; +#if ENABLE_UI_FAIRYGUI using GameFrameX.UI.FairyGUI.Runtime; +#endif using GameFrameX.Runtime; using GameFrameX.UI.Runtime; #if ENABLE_UI_UGUI diff --git a/Assets/Hotfix/UI/Logic/UILogin/UIPlayerList.cs b/Assets/Hotfix/UI/Logic/UILogin/UIPlayerList.cs index 8ebbf7e..1f949e7 100644 --- a/Assets/Hotfix/UI/Logic/UILogin/UIPlayerList.cs +++ b/Assets/Hotfix/UI/Logic/UILogin/UIPlayerList.cs @@ -2,6 +2,9 @@ using FairyGUI; using GameFrameX.Runtime; using GameFrameX.UI.Runtime; +#if ENABLE_UI_FAIRYGUI +using GameFrameX.UI.FairyGUI.Runtime; +#endif #if ENABLE_UI_UGUI using GameFrameX.UI.UGUI.Runtime; #endif diff --git a/Assets/Hotfix/UI/Logic/UIMain/UIMain.cs b/Assets/Hotfix/UI/Logic/UIMain/UIMain.cs index 4c46bd3..942c255 100644 --- a/Assets/Hotfix/UI/Logic/UIMain/UIMain.cs +++ b/Assets/Hotfix/UI/Logic/UIMain/UIMain.cs @@ -1,9 +1,12 @@ -using FairyGUI; using GameFrameX.Runtime; +#if ENABLE_UI_FAIRYGUI +using FairyGUI; +using GameFrameX.UI.FairyGUI.Runtime; +#endif #if ENABLE_UI_UGUI using GameFrameX.UI.UGUI.Runtime; -using UnityEngine; #endif +using UnityEngine; using Hotfix.Manager; using Hotfix.Proto;