2024-04-28 13:55:19 +00:00
|
|
|
using Godot;
|
|
|
|
|
|
|
|
namespace ColdMint.scripts.loader.uiLoader;
|
|
|
|
|
|
|
|
public partial class UiLoaderTemplate : Control, IUiLoaderContract
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// <para>The sealed keyword prevents subclasses from overriding the method</para>
|
|
|
|
/// <para>sealed关键字的作用时禁止子类重写该方法</para>
|
|
|
|
/// </summary>
|
|
|
|
public sealed override void _Ready()
|
|
|
|
{
|
|
|
|
InitializeData();
|
2024-05-08 10:22:04 +00:00
|
|
|
InitializeUi();
|
|
|
|
LoadUiActions();
|
2024-04-28 13:55:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-05-08 10:22:04 +00:00
|
|
|
public virtual void InitializeUi()
|
2024-04-28 13:55:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public virtual void InitializeData()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2024-05-08 10:22:04 +00:00
|
|
|
public virtual void LoadUiActions()
|
2024-04-28 13:55:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|