using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class FashionShowCloseItem { #region Config //StartMark-Used by LabelUtility-Do not remove private Image Icon1; private Image Icon2; private Image Icon3; private Button BuyButton; private TextPlus BuyButtonText; //EndMark-Used by LabelUtility-Do not remove #endregion public void Init(int closeID, Transform fashionShowCloseItem) { Dictionary childDictionary = new Dictionary(); Auxiliary.CompileDic(fashionShowCloseItem, childDictionary); Icon1 = childDictionary["Icon1"].GetComponent(); Icon2 = childDictionary["Icon2"].GetComponent(); Icon3 = childDictionary["Icon3"].GetComponent(); BuyButton = childDictionary["BuyButton"].GetComponent