按钮组

This commit is contained in:
bob
2025-06-03 18:09:30 +08:00
parent 372e81508e
commit 77e0463cc6

View File

@@ -1,13 +1,18 @@
// 本脚本只在不存在时会生成一次。组件逻辑写在当前脚本内。已存在不会再次生成覆盖 // 本脚本只在不存在时会生成一次。组件逻辑写在当前脚本内。已存在不会再次生成覆盖
using System.Collections.Generic;
using FairyGUI;
using NBC; using NBC;
namespace NBF namespace NBF
{ {
public partial class HomeMainPage : HomePageBase public partial class HomeMainPage : HomePageBase
{ {
private List<GButton> _buttons = new List<GButton>();
private void OnInited() private void OnInited()
{ {
_buttons.Add(OpGroup.BtnGo);
} }
protected override void OnShow() protected override void OnShow()