- Home /
Hiding editor extension scripts
How can one hide the scripts for an editor extension? I assume there is a way to distribute an editor extension on the asset store without giving out the source code, but how do I make sure the end user can't see or edit my code?
Is it also possible to put a script on a game object, but make it unreadable as well?
This was discussed some while ago, it's a shame I cannot find the link. Your source code will be viewable by anyone who purchases it from the assett store. I don't think there is a way from hiding your code.
Answer by Eric5h5 · Sep 03, 2012 at 06:23 AM
It's not possible, so don't waste time worrying about it. Even if you distribute a DLL, it's fairly trivial to decompile that, and while it's not as good as the "real" source code, it won't stop anyone who's determined to poke around in your code. Also, a lot of people will refuse to buy any utility unless it includes the source code.
Answer by Cripple · Sep 03, 2012 at 09:08 AM
You could use an obfuscator. Customers will still have access to your code, but it will be hard to read.