We just launched cs2dll!
Cs2dll is a little helper library that helps fixing references from C# scripts to the compiled version of those scripts (as in built into a .dll) and the other way around.
Why would you want that? Mostly to make it easier to protect your code from prying eyes. Yes, the code can still be reverse-engineered back, but it isn’t a clean process and most nice obfuscation tools work against .dll files, so you need those and the fixup for things to work as they should.
- Converts C# references to scripts and back
- Works on Mac and PC
- Can be called from command-line Unity (for batching and automation)
- Fully supports namespaces
- Will report back if .dll and .cs files don’t contain the right types
- The docs contain a little tutorial and step-by-step on how to get the .dlls Unity creates for your code as the only shipping version for your content.