function for obtaining color will now work with nulls by setting the key to "default".
This commit is contained in:
@@ -29,10 +29,11 @@ namespace RecrownedAthenaeum.UI.SkinSystem
|
||||
|
||||
/// <summary>
|
||||
/// Returns a <see cref="Color"/> with given name of defined color;
|
||||
/// Should use value "default" if <paramref name="name"/> is null.
|
||||
/// </summary>
|
||||
/// <param name="name">Name of defined color.</param>
|
||||
/// <returns>The defined color based on the name given.</returns>
|
||||
Color GetColor(string name);
|
||||
Color GetColor(string name = null);
|
||||
|
||||
/// <summary>
|
||||
/// Returns a <see cref="TextureAtlas.Region"/> with given name of region.
|
||||
|
||||
Reference in New Issue
Block a user