UrhoSharp Mac Support

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.

macOS

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();

Example

Complete example