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 public Text Text; public Button BoxButton; public Transform Transform; public CloseItem CloseItem; #endregion public void Init(int closeID, Transform fashionShowCloseItem) { Dictionary childDictionary = new Dictionary(); Auxiliary.CompileDic(fashionShowCloseItem, childDictionary); Icon1 = childDictionary[FashionShowCloseItemLabel.Icon1].GetComponent(); Icon2 = childDictionary[FashionShowCloseItemLabel.Icon2].GetComponent(); Icon3 = childDictionary[FashionShowCloseItemLabel.Icon3].GetComponent(); BuyButton = childDictionary[FashionShowCloseItemLabel.BuyButton].GetComponent