private void Awake() { for (int i = 0; i < HPDots.Count; i++) { HPDots[i].color = DiceUI.newColor(154, 34, 92); } }
IEnumerator Shinny() { while (true) { Fill.DOColor(Color.yellow, 0.2f); yield return(new WaitForSeconds(0.2f)); Fill.DOColor(DiceUI.newColor(154, 34, 92), 0.2f); yield return(new WaitForSeconds(0.7f)); } }