View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.0
- Last updated
- First released
- Unity version
- 2022.3.45 or later
- Package size
- 38 KB
- Files
- 4
- Favorites
- 10
- Views in the past week
- 7
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $10.50 on
Keywords
CSharp To DLL And Back
A handy utility that swaps script references from .cs files to .dll version of the same files, and back.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
CSharp To DLL And Back screenshot 1
About this asset
CSharp to DLL And Back is a small utiity that fixes references to C# scripts in .asset/.prefab/.unity files when the C# files have been moved to one or several .dlls
Who is this repository for?
- Developers that want to avoid distributing their C# code in-the-raw.
- This is a somewhat technical tool, if you are new to C#, libraries and code this is probably not for you.
How to use
In essence you need to have a set of CSharp scripts that also exist in a .dll, what you do is place them both in Assets, configure which is which in a small configuration tool and let Cs2DLL take care of swapping CSharp references in .asset/.unity/.prefab files for you.
For more details on how to use please check the linked video. There's a more thorough version of the steps involved in the documentation of the project.
From the publisher's Asset Store listing.
Technical details
- Re-assigns script IDs inside of .asset/.unity/.prefab files to the selected destination
- Sanity-checks that .dlls and source files match each other
- Checks source and .dll types to check that all types are converted correctly
- Fully supports namespaces
- Can be called in batch mode using command-line parameters
- Integrates with CI systems, such as Jenkins.
- Works in MacOS and Windows
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2022.3.45f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.