UrhoSharp Mac Support

PDF for offline use

Let us know how you feel about this

Translation Quality


Mac Specific Setup and Features

While Urho is a portable class library, and allows the same API to be used across the various platform for your game logic, you still need to initialize Urho in your platform specific driver, and in some cases, you will want to take advantage of platform specific features.

In the pages below, assume that MyGame is a subclass of the Application class.


Supported architectures: x86/x86-64 for 32 bit and 64 bit.

Creating a Project

Create a console project, reference the Urho NuGet and then make sure that you can locate the assets (the directories containing the Data directory).

DesktopUrhoInitializer.AssetsDirectory = "../Assets";
new MyGame().Run();


Complete example

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.