private void ChangeColor() { if (sRenderer != null && changeColor && !isTrail) { currentColor = aux.GetColor(currentColorType); sRenderer.color = currentColor; } }
private void ChangeColor() { currentColor = aux.GetColor(currentColorType); GetComponent <TextMeshProUGUI>().color = currentColor; }
private void ChangeColor() { currentColor = aux.GetColor(currentColorType); sRenderer.color = currentColor; }