AppDelegate.cs 432 B

12345678910111213141516171819
  1. using Foundation;
  2. using UIKit;
  3. using Microsoft.Xna.Framework;
  4. namespace PrimitivesSample.iOS
  5. {
  6. [Register("AppDelegate")]
  7. public class AppDelegate : UIApplicationDelegate
  8. {
  9. Game? game;
  10. public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
  11. {
  12. game = new PrimitivesSampleGame();
  13. game.Run();
  14. return true;
  15. }
  16. }
  17. }