NBC修改
This commit is contained in:
8
Assets/Scripts/UI/Tools/PreviewPanel.Designer.cs
generated
8
Assets/Scripts/UI/Tools/PreviewPanel.Designer.cs
generated
@@ -11,10 +11,18 @@ namespace NBF
|
||||
public partial class PreviewPanel
|
||||
{
|
||||
public GObject this[string aKey] => ContentPane.GetChild(aKey);
|
||||
public override string UIPackName => "Tools";
|
||||
public override string UIResName => "PreviewPanel";
|
||||
|
||||
[AutoFind(Name = "Model")]
|
||||
public ModelTexture Model;
|
||||
public override string[] GetDependPackages(){ return new string[] {"Common"}; }
|
||||
|
||||
public static void Show(object param = null){ App.UI.OpenUI<PreviewPanel>(param); }
|
||||
|
||||
public static void Hide(){ App.UI.HideUI<PreviewPanel>(); }
|
||||
|
||||
public static void Del(){ App.UI.DestroyUI<PreviewPanel>(); }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -7,9 +7,6 @@ namespace NBF
|
||||
{
|
||||
public partial class PreviewPanel : UIPanel
|
||||
{
|
||||
public override string UIPackName => "Tools";
|
||||
public override string UIResName => "PreviewPanel";
|
||||
|
||||
public GameObject Instance { get; private set; }
|
||||
|
||||
public GameObject LoadModel(GameObject prefab)
|
||||
|
||||
@@ -4,8 +4,9 @@ using FairyGUI;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public class ToolsBinder
|
||||
public static class ToolsBinder
|
||||
{
|
||||
[UIExtensionAutoBind]
|
||||
public static void BindAll()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user