相关UILUOJI
This commit is contained in:
@@ -8,13 +8,17 @@ using System.Collections.Generic;
|
||||
namespace NBF
|
||||
{
|
||||
/// <summary> </summary>
|
||||
public partial class FishingShop
|
||||
public partial class FishingShopPanel
|
||||
{
|
||||
public GObject this[string aKey] => ContentPane.GetChild(aKey);
|
||||
[AutoFind(Name = "Banner")]
|
||||
public GLabel Banner;
|
||||
[AutoFind(Name = "BtnClose")]
|
||||
public GButton BtnClose;
|
||||
[AutoFind(Name = "back")]
|
||||
public GImage back;
|
||||
[AutoFind(Name = "Menu")]
|
||||
public CommonMenu Menu;
|
||||
[AutoFind(Name = "divisionLine")]
|
||||
public GImage divisionLine;
|
||||
[AutoFind(Name = "List")]
|
||||
public GList List;
|
||||
public override string[] GetDependPackages(){ return new string[] {"Common"}; }
|
||||
|
||||
|
||||
@@ -7,10 +7,10 @@ using UIPanel = NBC.UIPanel;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class FishingShop : UIPanel
|
||||
public partial class FishingShopPanel : UIPanel
|
||||
{
|
||||
public override string UIPackName => "Shop";
|
||||
public override string UIResName => "FishingShop";
|
||||
public override string UIResName => "FishingShopPanel";
|
||||
|
||||
protected override void OnInit()
|
||||
{
|
||||
@@ -25,10 +25,10 @@ namespace NBF
|
||||
|
||||
private void OnClick(GComponent btn)
|
||||
{
|
||||
if (btn == BtnClose)
|
||||
{
|
||||
Hide();
|
||||
}
|
||||
// if (btn == BtnClose)
|
||||
// {
|
||||
// Hide();
|
||||
// }
|
||||
}
|
||||
|
||||
protected override void OnHide()
|
||||
Reference in New Issue
Block a user