| | |
| | | { |
| | | var _cell = cell.GetComponent<Image>(); |
| | | _cell.SetSprite("herocoltitle" + cell.index); |
| | | |
| | | var title = cell.GetComponentInChildren<Text>(); |
| | | title.text = RichTextMsgReplaceConfig.GetRichReplace("HeroQuality", cell.index); |
| | | |
| | | var outlineEx = title.GetComponent<OutlineEx>(); |
| | | outlineEx.OutlineColor = cell.index switch |
| | | { |
| | | 1 => new Color32(0x17, 0x25, 0x43, 255), |
| | | 2 => new Color32(0x2a, 0x0f, 0x30, 255), |
| | | 3 => new Color32(0x4a, 0x2f, 0x00, 255), |
| | | 4 => new Color32(0x45, 0x18, 0x00, 255), |
| | | 5 => new Color32(0x51, 0x00, 0x00, 255), |
| | | _ => Color.white, |
| | | }; |
| | | } |
| | | else if (type == ScrollerDataType.Normal) |
| | | { |