1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-04 16:12:58 +08:00

Document & reduce visibility of GetInstanceType()

This commit is contained in:
Bartłomiej Dach 2024-12-02 10:03:19 +01:00
parent 15a4726d68
commit c12cb2582e
No known key found for this signature in database

View File

@ -39,7 +39,10 @@ namespace osu.Game.Skinning
public bool Protected { get; set; }
public Type GetInstanceType()
/// <summary>
/// Returns the specific subtype of <see cref="Skin"/> that will be constructed on calling <see cref="CreateInstance"/>.
/// </summary>
internal Type GetInstanceType()
{
var type = string.IsNullOrEmpty(InstantiationInfo)
// handle the case of skins imported before InstantiationInfo was added.