using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShopMoneyCard : ShopCardBase { public GameObject go_best; public override void Set(T _base) { base.Set(_base); if (m_ShopTableData != null) { go_best.SetActive(m_ShopTableData.IsBest); labels[1].transform.localPosition = m_ShopTableData.PriceType == ePriceType.Cash ? new Vector3(96.35f, 64.6f) : new Vector3(96.35f, 3f); labels[1].color = m_ShopTableData.Item == eItem.Gold ? new Color32(255, 255, 95, 255) : new Color32(11, 207, 252, 255); } } }