protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); Game1.Activity = this; var g = new Game1(); SetContentView(g.Window); g.Run(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); Game1.Activity = this; m_game = new Game1(); SetContentView(m_game.Window); using (var ignore = new TV.Ouya.Sdk.OuyaInputView(this, ApplicationContext)) { // do nothing } m_game.Run(); ThreadStart ts = new ThreadStart(m_game.InputWorker); Thread thread = new Thread(ts); thread.Start(); }