示例#1
0
 protected override void OnCreate(Bundle savedInstanceState)
 {
     base.OnCreate(savedInstanceState);
     UrhoSurface.RunInActivity <Game>(
         new ApplicationOptions("Data")
     {
         Orientation = ApplicationOptions.OrientationType.Portrait
     }
         );
 }
示例#2
0
 protected override async void OnCreate(Bundle bundle)
 {
     base.OnCreate(bundle);
     UrhoSurface.RunInActivity <MyGame>(new ApplicationOptions("Data"));
 }