主界面改名

main
LuoFang 2023-10-25 13:41:07 +08:00
parent 97fa58ad80
commit b1a740ca5b
15 changed files with 23 additions and 14 deletions

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 621fc6515575ee042b3b42f35be90891
guid: be606989a7c85d646b23c5c3baf75136
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 00211315352ffc744b0aa59c651770ed
guid: 02160d06bd312ed4bb39c3b63a42d35d
PrefabImporter:
externalObjects: {}
userData:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 621fc6515575ee042b3b42f35be90891
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -34,7 +34,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0.0024330555, y: 0.0038443035}
m_AnchoredPosition: {x: 0.002666286, y: 0.0038443035}
m_SizeDelta: {x: 0, y: 300}
m_Pivot: {x: 0, y: 1}
--- !u!114 &5241968859315470040
@ -6809,7 +6809,7 @@ GameObject:
- component: {fileID: 2600492752028101319}
- component: {fileID: 8133741190465069400}
m_Layer: 5
m_Name: UI_Interface
m_Name: UI_MainPanel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0

View File

@ -3143,7 +3143,7 @@ GameObject:
m_Component:
- component: {fileID: 3308757282522066885}
m_Layer: 5
m_Name: UIMainPanel
m_Name: UIMainPaneltest
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0

View File

@ -46,7 +46,7 @@ public partial class UIManager
_WindowMeta(UINameConst.UIStoryMain, UIWindowLayer.Normal);
_WindowMeta(UINameConst.UINewLogin, UIWindowLayer.Normal);
_WindowMeta(UINameConst.UIGiftCode, UIWindowLayer.Normal);
_WindowMeta(UINameConst.UI_Interface, UIWindowLayer.Normal);
_WindowMeta(UINameConst.UI_MainPanel, UIWindowLayer.Normal);
}
@ -106,6 +106,6 @@ public static class UINameConst
public static readonly string UINewLogin = "StartScene/UINewLogin";
public static readonly string UIGiftCode = "MainScene/GiftCode/UIGiftCode";
public static readonly string UI_Interface = "Interface/UI_Interface";
public static readonly string UI_MainPanel = "MainPanel/UI_MainPanel";
}

View File

@ -15,7 +15,7 @@ namespace Gameplay
_destProgress = 0f;
await GameSceneManager.Instance.ChangeScene(GameSceneManager.EnumScene.GameMain);
_destProgress = 80f;
await UIManager.Instance.OpenWindow(UINameConst.UI_Interface);
await UIManager.Instance.OpenWindow(UINameConst.UI_MainPanel);
_destProgress = 100f;
}

View File

@ -22,7 +22,7 @@ public class UIMainPanelController : UIWindow
}
private async void OnNewDatingClick()
{
await UIManager.Instance.OpenWindow(UINameConst.UI_Interface);
await UIManager.Instance.OpenWindow(UINameConst.UI_MainPanel);
}
private async void OnDuiHuanMaClick()
{

View File

@ -7,10 +7,10 @@ using UnityEngine.UIElements;
using Button = UnityEngine.UI.Button;
using Image = UnityEngine.UI.Image;
public class UI_InterfaceBinder
public class UI_MainPanelBinder
{
public static void GetComponents(UI_InterfaceController window)
public static void GetComponents(UI_MainPanelController window)
{
window.Image_PhysicPower = window.GetComponent<Image>("UI_TopButtom/Image_PhysicPower");
window.Button_Plus = window.GetComponent<Button>("UI_TopButtom/Image_PhysicPower/Button_Plus");

View File

@ -12,7 +12,7 @@ using UnityEngine.UI;
using Button = UnityEngine.UI.Button;
using Image = UnityEngine.UI.Image;
public class UI_InterfaceController : UIWindow
public class UI_MainPanelController: UIWindow
{
//UI GameObj
///Auto Gen Start///
@ -89,7 +89,7 @@ public class UI_InterfaceController : UIWindow
bannerTiaoList = new List<GameObject>();
UI_InterfaceBinder.GetComponents(this);
UI_MainPanelBinder.GetComponents(this);
_mCurrentScrollView = GetComponent<ScrollRect>("ScrollView");
_inputLevel = transform.Find("InputField")?.GetComponent<TMP_InputField>();
whiteBarItem = FindObj("BarItem");

View File

@ -1,4 +1,4 @@
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//
// 文件Assets/Editor/Tools/ToolsDef.cs
// 作者Xoen Xie
@ -18,4 +18,5 @@ public enum NLDMenuID
DBCodeExport, // /Tools/生成数据库代码
ConfigExport, // /Tools/配置工具
GMTools, // Tools/GM工具
MusicCube, //Tools/MusicCube工具
}