using Godot; namespace ColdMint.scripts.loader.uiLoader; public partial class UiLoaderTemplate : Control, IUiLoaderContract { /// /// The sealed keyword prevents subclasses from overriding the method /// sealed关键字的作用时禁止子类重写该方法 /// public sealed override void _Ready() { InitializeData(); InitializeUi(); LoadUiActions(); } public virtual void InitializeUi() { } public virtual void InitializeData() { } public virtual void LoadUiActions() { } }