mirror of
https://github.com/osukey/osukey.git
synced 2025-06-09 05:19:11 +09:00
Add sample usage of PlayMode bindable.
This commit is contained in:
parent
5ff9d828eb
commit
e25e7319e9
@ -15,5 +15,18 @@ namespace osu.Game.GameModes.Play
|
|||||||
typeof(ModSelect),
|
typeof(ModSelect),
|
||||||
typeof(Player)
|
typeof(Player)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
public override void Load()
|
||||||
|
{
|
||||||
|
base.Load();
|
||||||
|
|
||||||
|
OsuGame osu = Game as OsuGame;
|
||||||
|
|
||||||
|
osu.PlayMode.ValueChanged += PlayMode_ValueChanged;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void PlayMode_ValueChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user