Lock screen rotation while in gameplay.

This commit is contained in:
Lucas A
2020-10-14 13:43:56 +02:00
parent 010f86ff34
commit e823575751
4 changed files with 43 additions and 1 deletions

View File

@ -55,6 +55,12 @@ namespace osu.Android
}
}
protected override void LoadComplete()
{
base.LoadComplete();
LoadComponentAsync(new GameplayScreenRotationLocker(), Add);
}
protected override UpdateManager CreateUpdateManager() => new SimpleUpdateManager();
}
}