using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; namespace SHINT.UI { public class UI_UserIcon : MonoBehaviour { Image background; Image[] images; TextMeshProUGUI id; void Awake() { background = GetComponent(); images = GetComponentsInChildren(); id = GetComponentInChildren(); } private void OnEnable() { var bg = GetRandomColor(); var ic = GetComplementaryColor(bg); for(int i =0;i