HUGS

Haxe Unity Glue... stuff
https://github.com/proletariatgames/HUGS

To install, run:

haxelib install HUGS 0.3.0 

See using Haxelib in Haxelib documentation for more information.

README.md

HUGS!

Haxe Unity Glue...Stuff!

This library includes Haxe externs for Unity and .NET frameworks, generated via the cslibgen utility. It also includes the HUGSWrapper "using" class, which includes various things to work around Haxe/C# translation issues, as well as make working with Unity easier.

Installation

Stable version

haxelib install HUGS

Unstable version

haxelib git HUGS https://github.com/proletariatgames/HUGS.git

Using

Example: src/Main.hx

import unityengine.MonoBehaviour;
class Main extends MonoBehaviour {
	public function Start():Void {
		trace('Hello world');
	}
}

Compilation

haxe -lib HUGS -cp src -cs cs -D no-compilation -net-lib "C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEngine.dll"

And then you can use *.cs files in Unity. Or you can try use project templates for some IDEs.

Documentation forthcoming...

But in the mean time, you can check out our blog post on it.

Additional libraries

Pony

For FlashDevelop Users

Projects Templates
Contributors
HUGS_Developers
Version
0.3.0
Published
10 years ago
Dependencies
License
BSD

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub