NBC修改

This commit is contained in:
bob
2025-07-03 14:16:18 +08:00
parent 4febfadd56
commit 800e96aac7
2083 changed files with 60081 additions and 2942 deletions

View File

@@ -11,10 +11,20 @@ namespace NBF
public partial class LoadingPanel
{
public GObject this[string aKey] => ContentPane.GetChild(aKey);
public override string UIPackName => "Load";
public override string UIResName => "LoadingPanel";
[AutoFind(Name = "Progress")]
public GProgressBar Progress;
public override string[] GetDependPackages(){ return new string[] {"Main"}; }
[AutoFind(Name = "TextLoading")]
public GTextField TextLoading;
public override string[] GetDependPackages(){ return new string[] {}; }
public static void Show(object param = null){ App.UI.OpenUI<LoadingPanel>(param); }
public static void Hide(){ App.UI.HideUI<LoadingPanel>(); }
public static void Del(){ App.UI.DestroyUI<LoadingPanel>(); }
}
}