changes in how skin system works.
This commit is contained in:
@@ -13,11 +13,6 @@ namespace RecrownedAthenaeum.UI.SkinSystem.Definitions
|
||||
/// </summary>
|
||||
public string fontColor;
|
||||
|
||||
/// <summary>
|
||||
/// The type of module that will be using this definition.
|
||||
/// </summary>
|
||||
public new Type UIModuleType => typeof(TextButton);
|
||||
|
||||
/// <summary>
|
||||
/// Creates this definition with the most minimal requirements.
|
||||
/// </summary>
|
||||
@@ -25,7 +20,7 @@ namespace RecrownedAthenaeum.UI.SkinSystem.Definitions
|
||||
/// <param name="upRegion">The texture region that represents when the button is not pressed.</param>
|
||||
public TextButtonSkinDefinition(string downRegion, string upRegion) : base(downRegion, upRegion)
|
||||
{
|
||||
|
||||
UIModuleType = typeof(TextButton);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user