Skip to content

Instantly share code, notes, and snippets.

@nadako
Created March 5, 2014 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nadako/9370128 to your computer and use it in GitHub Desktop.
Save nadako/9370128 to your computer and use it in GitHub Desktop.
Haxe for Unity with -net-lib
-cp src
-cs bin/sample-cs
-net-lib "C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEngine.dll"
-D dll
Main
class Main extends unityengine.MonoBehaviour
{
function Update()
{
unityengine.Debug.Log("Hello");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment