x


Manual Compilation of UnityScript / JavaScript

A couple of places tell how to compile c# scripts manually:

http://www.unifycommunity.com/wiki/index.php?title=Manual_Compilation_of_C_Sharp_Unity_Scripts

http://eej.dk/angryant/general/tipsandtricks/assembling-and-assimilating/

But is there any information out there on Manually Compiling UnityScript/JavaScript? And further, to link the C# and the JS into a single build / DLL / library / ...

more ▼

asked Oct 18, 2011 at 10:14 PM

AIResearcher gravatar image

AIResearcher
100 17 17 23

I'm not 100% sure on this, so I won't post it as an answer, but it sounds like this is a Mono question and not a Unity question. The first answer you posted looks like it uses a Mono tool and loads the Unity engine as a library for compiling the code. Unityscript isn't generally supported by Mono, so unless the folks at Unity specifically built a tool for manual compilation, your only real chance would be to run your code through a Javascript compiler for Mono that could load the Unity libraries.

What exactly are you trying to do? Perhaps there's a better way...

Oct 18, 2011 at 11:12 PM Julien.Lynge
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x10663
x6412
x561

asked: Oct 18, 2011 at 10:14 PM

Seen: 1799 times

Last Updated: Oct 18, 2011 at 11:12 PM