mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 09:42:54 +08:00
Document & reduce visibility of GetInstanceType()
This commit is contained in:
parent
15a4726d68
commit
c12cb2582e
@ -39,7 +39,10 @@ namespace osu.Game.Skinning
|
|||||||
|
|
||||||
public bool Protected { get; set; }
|
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)
|
var type = string.IsNullOrEmpty(InstantiationInfo)
|
||||||
// handle the case of skins imported before InstantiationInfo was added.
|
// handle the case of skins imported before InstantiationInfo was added.
|
||||||
|
Loading…
Reference in New Issue
Block a user