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?
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.
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