BrawlCrate.BrawlManagers.CostumeManager.Portrait_Viewers.CostumeNumberLabel.UpdateImage C# (CSharp) Method

UpdateImage() public method

public UpdateImage ( int charNum, int costumeNum, bool confident ) : void
charNum int
costumeNum int
confident bool
return void
        public void UpdateImage(int charNum, int costumeNum, bool confident)
        {
            Text = $"Char {charNum} / Costume {costumeNum}";
            if (!confident)
            {
                Text += " (?)";
            }

            BackColor = costumeNum < 0 ? Color.Red
                : confident ? Color.LightGreen
                : Color.Yellow;
        }
    }
CostumeNumberLabel