namespace ColdMint.scripts.loader.uiLoader; /// /// UI Loader Contract /// UI加载器契约 /// /// ///Define methods that must be implemented by all UI loaders within the project ///为项目内所有UI加载器制定一些必须实现的方法 /// public interface IUiLoaderContract { /// /// This method loads the information that the UI needs to display, such as: button text, images, etc. /// 在此方法内加载UI需要显示的信息,例如:按钮的文字,图像等。 /// void InitializeUI(); /// /// initialization data /// 初始化数据 /// void InitializeData(); /// /// Load user actions that the UI needs to respond to, such as setting a click event for a button. /// 加载UI需要响应的用户行动,例如为按钮设置点击事件。 /// void LoadUIActions(); }