3 #if SILICONSTUDIO_PLATFORM_ANDROID
7 using SiliconStudio.Paradox.Games;
8 using SiliconStudio.Paradox.Starter;
10 namespace SiliconStudio.
Paradox.Graphics.Regression
13 public class AndroidGameTestActivity : AndroidParadoxActivity
15 public static GameBase Game;
17 public static event EventHandler<EventArgs>
Destroyed;
19 protected override void OnCreate(Bundle bundle)
21 base.OnCreate(bundle);
23 Game.Exiting += Game_Exiting;
24 Game.Run(GameContext);
27 public override void OnBackPressed()
33 void Game_Exiting(
object sender,
EventArgs e)
38 protected override void OnDestroy()
Resource has been destroyed due to graphics device being destroyed. It will need to be recreated or r...