ColorScheme
Use these methods to get the game’s color scheme.
Static methods
Method |
Description |
---|---|
Returns a formatted string such as``<color=blue>innerString</color>`` for a specified team. |
|
Returns a UI-ready color of a specific team. |
|
Returns the main color of a specific team. |
|
Returns a rich text color tag such as |
|
Returns a rich text color tag such as |
|
Sets the team blood particle color |
|
Sets the team color, also sets the team blood particle color |
Details
-
class ColorScheme
-
static string FormatTeamColor(string innerString, Team team, ColorVariant variant)
Returns a formatted string such as``<color=blue>innerString</color>`` for a specified team.
-
static Color GetInterfaceColor(Team team, ColorVariant variant)
Returns a UI-ready color of a specific team.
-
static string RichTextColorTag(Color color)
Returns a rich text color tag such as
<color=blue>
for a specified color.
-
static string RichTextColorTag(Team team, ColorVariant variant)
Returns a rich text color tag such as
<color=blue>
for a specified team.
-
static string FormatTeamColor(string innerString, Team team, ColorVariant variant)