Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

It is useful to have parts of your game being scriptable. Many people (especially outside of Unity) are using LUA for that job. As UnityScript (as with Boo or C#) is a first class citizen why not use that for scripting? How can I load and execute scripts during runtime of Unity? How to expose custom types and methods to the UnityScript runtime? Shouldn't this be way easier than embedding LUA?

share|improve this question
    
To clarify: are you asking how to use JavaScript (Web) or UnityScript as a user facing scripting language? Note: UnityScript is now the official name of the language :). –  XGundam05 Dec 10 '14 at 13:23
    
@XGundam05 Okay, I meant UnityScript as the JavaScript-y way of programming Unity3D. I clarified the question. Where would be the difference to embedding plain ECMAScript? –  Code Clown Dec 10 '14 at 13:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.