NBC修改
This commit is contained in:
@@ -7,9 +7,6 @@ namespace NBF
|
||||
{
|
||||
public partial class CommonTopPanel : UIPanel
|
||||
{
|
||||
public override string UIPackName => "Common";
|
||||
public override string UIResName => "CommonTopPanel";
|
||||
|
||||
protected override void OnInit()
|
||||
{
|
||||
ContentPane.sortingOrder = UIDef.UIOrder.CommonTopPanel;
|
||||
@@ -25,13 +22,13 @@ namespace NBF
|
||||
{
|
||||
if (action == InputDef.UI.Back)
|
||||
{
|
||||
var uis = UI.Inst.GetAllUI();
|
||||
var uis = App.UI.GetAllUI();
|
||||
foreach (var ui in uis)
|
||||
{
|
||||
if (ui.ContentPane.sortingOrder > 0) continue;
|
||||
if (ui.IsTop && !ui.IsDontBack)
|
||||
{
|
||||
UI.Inst.HideUI(ui.GetType());
|
||||
App.UI.HideUI(ui.GetType());
|
||||
// ui.Hide();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user