mirror of
https://github.com/ppy/osu
synced 2025-02-05 21:01:37 +00:00
Fix SkinnableLighting
showing up as a user placeable component
This commit is contained in:
parent
2267aa1ac2
commit
675e5b81f3
@ -14,7 +14,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
{
|
||||
public partial class DrawableOsuJudgement : DrawableJudgement
|
||||
{
|
||||
protected SkinnableLighting Lighting { get; private set; }
|
||||
internal SkinnableLighting Lighting { get; private set; }
|
||||
|
||||
[Resolved]
|
||||
private OsuConfigManager config { get; set; }
|
||||
|
@ -10,7 +10,7 @@ using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
{
|
||||
public partial class SkinnableLighting : SkinnableSprite
|
||||
internal partial class SkinnableLighting : SkinnableSprite
|
||||
{
|
||||
private DrawableHitObject targetObject;
|
||||
private JudgementResult targetResult;
|
||||
|
@ -109,7 +109,7 @@ namespace osu.Game.Skinning
|
||||
{
|
||||
return (ruleset?.CreateInstance().GetType() ?? typeof(OsuGame))
|
||||
.Assembly.GetTypes()
|
||||
.Where(t => !t.IsInterface && !t.IsAbstract)
|
||||
.Where(t => !t.IsInterface && !t.IsAbstract && t.IsPublic)
|
||||
.Where(t => typeof(ISerialisableDrawable).IsAssignableFrom(t))
|
||||
.OrderBy(t => t.Name)
|
||||
.ToArray();
|
||||
|
Loading…
Reference in New Issue
Block a user