コード例 #1
0
ファイル: MainActivity.cs プロジェクト: Acivev/osu
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            Window.RequestFeature(WindowFeatures.NoTitle);
            Window.AddFlags(WindowManagerFlags.KeepScreenOn | WindowManagerFlags.Fullscreen);

            gameView = new AndroidPlatformGameView(ApplicationContext);
            SetContentView(gameView);
        }
コード例 #2
0
ファイル: AndroidTouchHandler.cs プロジェクト: Acivev/osu
 public AndroidTouchHandler(AndroidPlatformGameView gameView)
 {
     gameView.Touch += handleTouches;
 }