mirror of
https://github.com/ppy/osu
synced 2025-01-05 05:39:49 +00: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