结构大修改,改成朴实无华的结构,不过度架构。能跑就行
This commit is contained in:
6
Assets/Scripts/UI/Bag/BagPanel.Designer.cs
generated
6
Assets/Scripts/UI/Bag/BagPanel.Designer.cs
generated
@@ -22,11 +22,11 @@ namespace NBF
|
||||
public CommonItemList ItemList;
|
||||
public override string[] GetDependPackages(){ return new string[] {"Common","CommonNew"}; }
|
||||
|
||||
public static void Show(object param = null){ App.UI.OpenUI<BagPanel>(param); }
|
||||
public static void Show(object param = null){ UI.Inst.OpenUI<BagPanel>(param); }
|
||||
|
||||
public static void Hide(){ App.UI.HideUI<BagPanel>(); }
|
||||
public static void Hide(){ UI.Inst.HideUI<BagPanel>(); }
|
||||
|
||||
public static void Del(){ App.UI.DestroyUI<BagPanel>(); }
|
||||
public static void Del(){ UI.Inst.DestroyUI<BagPanel>(); }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user