- Home /
Question by
bradmarxmoosepi · May 09, 2012 at 06:58 PM ·
javascriptwwwruntimedynamically
Dynamically load UnityScript file
Is there a way to load a script (written in UnityScript) from a web server and apply it to a GameObject at runtime?
Comment
I'm going to "guess" that the answer is no as the script is compiled into binary when the game is built. Source script would mean nothing to a running game.
There have been some discussions on this subject, but there is no trivial solution.
This thread has some links to very interesting reading.
@kolban: no, eval compiles generic text to code at runtime.