UrhoSharpReadme.txt 587 B

1234567891011121314151617
  1. In order to run a game:
  2. 1) If you need custom assets - add "Data" folder containing your assets to "Assets" project folder and make sure all files have "AndroidAsset" build action.
  3. 2) use the following code snippet in order to open a new fullscreen activity with the game:
  4. UrhoSurface.RunInActivity<MyGame>(new ApplicationOptions("Data"));
  5. or
  6. UrhoSurface.RunInActivity<MyGame>();
  7. if you don't need any custom assets and built-in ones (CoreData) are enough for you.
  8. CoreData assets and native libs for x86, armeabi, armeabi-v7a are added via .targets file by the nuget package.