新增菜单all和列表标题功能
This commit is contained in:
4
Assets/Scripts/UI/Bag/BagPanel.Designer.cs
generated
4
Assets/Scripts/UI/Bag/BagPanel.Designer.cs
generated
@@ -16,10 +16,10 @@ namespace NBF
|
||||
|
||||
[AutoFind(Name = "back")]
|
||||
public GImage back;
|
||||
[AutoFind(Name = "Menu")]
|
||||
public CommonMenu Menu;
|
||||
[AutoFind(Name = "BottomMenu")]
|
||||
public BottomMenu BottomMenu;
|
||||
[AutoFind(Name = "ItemList")]
|
||||
public CommonItemList ItemList;
|
||||
public override string[] GetDependPackages(){ return new string[] {"Common"}; }
|
||||
|
||||
public static void Show(object param = null){ App.UI.OpenUI<BagPanel>(param); }
|
||||
|
||||
@@ -10,7 +10,6 @@ namespace NBF
|
||||
protected override void OnInit()
|
||||
{
|
||||
base.OnInit();
|
||||
Menu.OnTabChange += ChangeTab;
|
||||
}
|
||||
|
||||
protected override void OnShow()
|
||||
@@ -36,12 +35,6 @@ namespace NBF
|
||||
}
|
||||
}
|
||||
|
||||
private void ChangeTab(int index)
|
||||
{
|
||||
if (index < 0) return;
|
||||
Log.Info($"Change tab index={index}");
|
||||
}
|
||||
|
||||
private void UseBottomMenu()
|
||||
{
|
||||
BottomMenu.Use(this);
|
||||
|
||||
Reference in New Issue
Block a user