Пример #1
0
 public void SetupSprite()
 {
     //set the color to the players colour
     //sprite.color = Color.clear;
     sprite.DOColor(colour.GetCurrentColor(), 1.0f);
     SetGlowRenderers(colour.GetCurrentColor(), 0.0f);
     tr.colorGradient = gradients[(int)colour.currentColourType];
 }