diff --git a/Assets/Scripts/UI/Home/Pages/HomeMainPage.cs b/Assets/Scripts/UI/Home/Pages/HomeMainPage.cs index 0acbaebc6..8f17e3cd3 100644 --- a/Assets/Scripts/UI/Home/Pages/HomeMainPage.cs +++ b/Assets/Scripts/UI/Home/Pages/HomeMainPage.cs @@ -1,13 +1,18 @@ // 本脚本只在不存在时会生成一次。组件逻辑写在当前脚本内。已存在不会再次生成覆盖 +using System.Collections.Generic; +using FairyGUI; using NBC; namespace NBF { public partial class HomeMainPage : HomePageBase { + private List _buttons = new List(); + private void OnInited() { + _buttons.Add(OpGroup.BtnGo); } protected override void OnShow()