private void ChangeColor()
 {
     if (sRenderer != null && changeColor && !isTrail)
     {
         currentColor    = aux.GetColor(currentColorType);
         sRenderer.color = currentColor;
     }
 }
Пример #2
0
 private void ChangeColor()
 {
     currentColor = aux.GetColor(currentColorType);
     GetComponent <TextMeshProUGUI>().color = currentColor;
 }
Пример #3
0
 private void ChangeColor()
 {
     currentColor    = aux.GetColor(currentColorType);
     sRenderer.color = currentColor;
 }