using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
///
/// 武将属性界面: functionOrder 用来传递武将背包索引
///
public class HeroAllAttrWin : UIBase
{
[SerializeField] GameObject baseAttrGroup;
[SerializeField] GameObject fightAttrGroup;
[SerializeField] GameObject fightAntiAttrGroup;
[SerializeField] GameObject specialAttrGroup;
Dictionary attrBtns = new Dictionary();
protected override void InitComponent()
{
//找出所有子组件名字为attr的GameObject
Button[] attrComponents = baseAttrGroup.GetComponentsInChildren