Whether to support the dynamic compilation
the unity3d whether support
Dynamically compiled script after the program is running
If support, whether there is an example?
Such as
A script, stored in sdcard/uniyt3d/Joy.cs
The unity3d whether to compile the script,
Get the Joy object.
No - its not possible to load scripts at run time in this manner.
You can actually compile text to JS code at runtime, using eval(), but that only works for Mac/PC/web.
–Eric
You can also load a DLL at runtime on most platforms (not iOS/XBox). But you’d need to find your own way to compile your scripts into said DLL. It also requires some advanced techniques and a really good design to be able to properly use the DLLs classes in such a dynamic way.
Thank you
Ntero, your method is very good, I will try feasibility.