using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; public class SpecialBuff_Button : MonoBehaviour { public SpecailBuff_Buildings buildings_Belong; public string buffName; public bool canBeClosed; [Header("升级项目")] public List resourceNeeded; public int Level = 0; public int MaxLevel; // Start is called before the first frame update void Start() { if(resourceNeeded != null)//可以被升级 { GetComponent