/// #pkgName FGUI包名 /// #panelName UIPanel名字 /// #UIName = $"{#pkgName}{#panelName}" UIKey名字 /// #PropertyDefineArea 属性定义区域 /// #PropertyAssignArea 属性赋值区域 /// #ComponentType 组件类型 /// #PropertyName 属性名字 /// 该脚本由模板创建,不可编辑 /// created by cb 2024 using FairyGUI; using XGame.Framework.FGUI; using XGame.Framework.UI; namespace FL.FGUI { /// /// 该脚本由模板创建,不可修改,不可编辑 /// public partial class PartnerStarCenterItemVM : FguiViewModel { public Controller StarNum { get; private set; } public GLoader Star1Loader { get; private set; } public GLoader Star2Loader { get; private set; } public GLoader Star3Loader { get; private set; } public GLoader Star4Loader { get; private set; } public GLoader Star5Loader { get; private set; } protected override void BindComponents(GComponent panel, IUIViewAdapter adapter) { StarNum = panel.GetController("StarNum"); Star1Loader = panel.GetChild("Star1Loader") as GLoader; Star2Loader = panel.GetChild("Star2Loader") as GLoader; Star3Loader = panel.GetChild("Star3Loader") as GLoader; Star4Loader = panel.GetChild("Star4Loader") as GLoader; Star5Loader = panel.GetChild("Star5Loader") as GLoader; } } }