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