Пример #1
0
 public void SetPlayerIsActive(bool isActive)
 {
     if (isActive)
     {
         transform.localScale         = new Vector3(1.1f, 1.1f, 1.1f);
         GetComponent <Image>().color = ParseHex.ToColor("AF4202FF");
     }
     else
     {
         transform.localScale         = new Vector3(1f, 1f, 1f);
         GetComponent <Image>().color = ParseHex.ToColor("6B4E29FF");
     }
 }
Пример #2
0
 6 => new RGBColor(ParseHex(input[..2]), ParseHex(input[2..4]), ParseHex(input[4..])),