UiTintAttribute

AttributeReferences
[AttributeUsage(AttributeTargets.All, AllowMultiple = false)] public sealed class UiTintAttribute : Attribute
Assign this attribute to types or values if they are associated with a specific colour.

Constructors

UiTintAttribute

#
public UiTintAttribute(string colourText)
Create a new attribute
colourText (string)

Properties

Tint

#
public Color Tint { get; }
Gets the user-interface colour.

Methods

Harvest<T>

#
public static bool Harvest<T>(T value, out Color colour)
value (T)
colour (out Color)