mirror of
https://github.com/ppy/osu
synced 2024-12-12 09:58:22 +00:00
Resolve DHO inside load()
This commit is contained in:
parent
f54eb448fa
commit
9dcbef49d3
@ -30,14 +30,11 @@ namespace osu.Game.Rulesets.Osu.Skinning
|
||||
private readonly Bindable<Color4> accentColour = new Bindable<Color4>();
|
||||
private readonly IBindable<int> indexInCurrentCombo = new Bindable<int>();
|
||||
|
||||
[Resolved]
|
||||
private DrawableHitObject drawableObject { get; set; }
|
||||
|
||||
[Resolved]
|
||||
private ISkinSource skin { get; set; }
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
private void load(DrawableHitObject drawableObject)
|
||||
{
|
||||
OsuHitObject osuObject = (OsuHitObject)drawableObject.HitObject;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user