mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08: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(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…
Reference in New Issue
Block a user