コード例 #1
0
 private int SdlMain(int n, IntPtr v)
 {
     Trace.WriteLine("MainActivity.SDLMain()");
     using (var context = new Urho3DNet.Context())
     {
         var options = new ApplicationOptions();
         //var assets = Android.OS.Environment.ExternalStorageDirectory.ToString();
         //options.EpResourcePrefixPaths = assets+";"+ assets+"/Assets";
         using (var application = new DemoApplication(context, options))
         {
             return(application.Run());
         }
     }
 }