mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Use auto property.
This commit is contained in:
@ -28,14 +28,12 @@ namespace osu.Game.Skinning
|
||||
|
||||
private class SpriteComponent : ISkinComponent
|
||||
{
|
||||
private readonly string textureName;
|
||||
|
||||
public SpriteComponent(string textureName)
|
||||
{
|
||||
this.textureName = textureName;
|
||||
LookupName = textureName;
|
||||
}
|
||||
|
||||
public string LookupName => textureName;
|
||||
public string LookupName { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user