- Home /
Can I create a DLL for UnityScript to protect code?
I want to convert my unity scripts into a DLL to protect the code when sharing my unity project. This is something that I want to do: Using Mono DLLs in a Unity Project, but this only seems to work for C#. My code is in UnityScript. Can I still convert scripts into a DLL?
Just FYI, a DLL from a managed script (C#, JS, boo) does not provide any protection for your source. It's a matter of seconds to extract your scripts back from the DLL.
While obfuscation or native code does provide some protection, usually it isn't worth the time or money you have to put into it.
Thanks Gerry$$anonymous$$
Would it be better to use WWW to change textures on the fly while game is running (for designer to be able to change textures) or use obfuscation for this purpose?
Answer by Mohamad Farid · Jun 23, 2013 at 10:04 AM
Actually,you can by exporting the game into runtime and it will convert all of your game scripts to Assembly-Csharp.dll and java are also envolve if you have. :D
Hope this helps!
hey thanks for your reply. Is it possible to share some resources about this matter, or some better explanation please? I am very new to this situation.
Im glad its fixed and make sure you mark it as correct :D
I believe that your code is safe when you export it to .exe :) and it will convert the script to .dll
By the way if you dont know how to export it heres the solution : http://docs.unity3d.com/Documentation/$$anonymous$$anual/PublishingBuilds.html and all scripts such as c#,java,boo and unity script can also convert
Hope this really helps.
Your answer
Follow this Question
Related Questions
Convert To UnityScript 1 Answer
Help convertings c# to js line --using Callback=System.Action 1 Answer
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Help me please to convert from UnityScript to C# 1 Answer
C# to UnityScript conversion help. 0 Answers