public void ChangeNoteColor(Color color)
    {
        NoteFill.GetComponent <SpriteRenderer>().color = color;
        Color tmp = NoteBorder.GetComponent <SpriteRenderer>().color;

        NoteBorder.GetComponent <SpriteRenderer>().color = new Color(tmp.r, tmp.g, tmp.b, color.a);
    }
Beispiel #2
0
 public override void ChangeNoteColor(Color color)
 {
     NoteFill.GetComponent <SpriteRenderer>().color        = color;
     FillNoteBody.GetComponent <SpriteRenderer>().color    = color;
     HollowNoteBody.GetComponent <SpriteRenderer>().color  = new Color(255, 255, 255, color.a);
     InnerNoteBorder.GetComponent <SpriteRenderer>().color = new Color(255, 255, 255, color.a);
     NoteBorder.GetComponent <SpriteRenderer>().color      = new Color(255, 255, 255, color.a);
 }