添加输入系统帮助

This commit is contained in:
2025-07-30 08:54:44 +08:00
parent 717a3e5d6f
commit 628f7908df
5 changed files with 143 additions and 5 deletions
+13 -3
View File
@@ -14,10 +14,20 @@ using Component = UnityEngine.Component;
namespace XericUI.FlipPage
{
/// <summary>
/// 翻页组件管理器
///
/// 对翻页组件的管理
/// 翻页组件管理器(UI层)
/// </summary>
/// <code>
/// 翻页组件层(UI)脚本,约束基本用法:
///
/// FlipPageComponentManager : XericFlipPageIndexVesselBase
/// |-PageComponentInfo 页面组件结构
/// | |-ItemComponentInfo 项目组件结构
///
/// 组件层使用组件容器封装,预设的组件引用可以实现类似下面的样式
/// |< < 2,3,4 > >|
/// 两侧是固定的按钮,中间是一个横向的排列容器,在指定了按钮对象池后,将会自动生成绑定好的按钮用于翻页。
/// 页数按钮需要让button在预制体最外层,它的子集中需要包含一个TMP_Text。
/// </code>
public class FlipPageComponentManager : XericFlipPageIndexVesselBase
{
#region 界面属性
@@ -12,10 +12,22 @@ using XericUI.Core.Vessel;
namespace XericUI.FlipPage
{
/// <summary>
/// 翻页管理器
/// 翻页管理器(逻辑层)
/// </summary>
/// <code>
/// 翻页允许按页,按项目进行管理。
/// 翻页逻辑层脚本,约束基本用法:
///
/// XericFlipPageIndexVesselBase 逻辑层管理器
/// |-PageInfo 页面数据结构
/// | |-ItemInfo 项目数据结构
///
/// 基本用法应该是,添加数据项目,这会自动分配到有效的页面中;
/// 如果页面项目已满,则新建一个页面继续填充项目。
/// 或者直接创建页面,将需要的数据项目直接写在页面数据中。
///
/// 使用FlipPage()翻页,这会立刻执行,并触发OnFlipPage函数,
/// currentPageIndex可以获取当前页数,Currentpage获取当前页面数据;
/// 在页面数据中pageNumber可以获取自己所在的页数,itemInfos获取页面中的所有数据项目。
/// </code>
public class XericFlipPageIndexVesselBase : XericUIBehaciour
{