HUGS
This library includes Haxe externs for Unity and .NET frameworks
Install / Use
/learn @proletariatgames/HUGSREADME
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
<pre>haxelib install HUGS</pre>Unstable version
<pre>haxelib git HUGS https://github.com/proletariatgames/HUGS.git</pre>Using
Example: src/Main.hx
<pre> import unityengine.MonoBehaviour; class Main extends MonoBehaviour { public function Start():Void { trace('Hello world'); } } </pre>Compilation
<pre>haxe -lib HUGS -cp src -cs cs -D no-compilation -net-lib "C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEngine.dll"</pre>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 <a href="http://blog.proletariat.com/post/63641237563/free-hugs">blog</a> post on it.
Additional libraries
<a href="https://github.com/AxGord/Pony">Pony</a>
For FlashDevelop Users
<a href="https://github.com/AxGord/FlashDevelop-HaXe-Projects-Templates">Projects Templates</a>
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
