public void SetAllSelectMessage(string value) { foreach (GUIListChipParts.Data data in GUISelectPanelChipList.partsDataList) { data.selectMessage = value; GameObject onePart = base.GetOnePart(data.index); if (onePart != null) { GUIListChipParts component = onePart.GetComponent <GUIListChipParts>(); component.SetSelectMessage(value); } } }
public void SetAllSelectColor(bool isSelect) { foreach (GUIListChipParts.Data data in GUISelectPanelChipList.partsDataList) { data.isSelect = isSelect; GameObject onePart = base.GetOnePart(data.index); if (onePart != null) { GUIListChipParts component = onePart.GetComponent <GUIListChipParts>(); component.SetSelectColor(isSelect); } } }
public void SetNowSelectMessage(int userChiId, bool isSelect) { foreach (GUIListChipParts.Data data in GUISelectPanelChipList.partsDataList) { if (data.userChip.userChipId == userChiId) { GameObject onePart = base.GetOnePart(data.index); if (onePart != null) { GUIListChipParts component = onePart.GetComponent <GUIListChipParts>(); component.SetNowSelectMessage(isSelect); } break; } } }