private void Init() { nameIP = transform.Find("Context/Name").GetComponent <Text>(); outlayIP = transform.Find("Context/Outlay").GetComponent <Text>(); introduceIP = transform.Find("Context/Introduce").GetComponent <Text>(); uiDirftInfo = GameOperation.gameOperation.GetInfoOperation.uIDirftInfo; }
private void Init() { selectName = transform.GetComponentsInChildren <Text>()[0]; SelectNum = transform.GetComponentsInChildren <Text>()[1]; selectHeadP = transform.GetComponent <RawImage>(); selectHeadMAsk = transform.GetComponentInChildren <Image>(); m_parentPanel = transform.GetComponentInParent <SelectItemPanel>(); uiDirftInfo = GameOperation.gameOperation.GetInfoOperation.uIDirftInfo; isInit = true; }