AsmdefHelper
Assembly definition utilities that streamline asmdef workflow in Unity projects. Features include dependency graph visualization, multi-asmdef parallel editing, compile locking during edits, and custom asmdef creation with configurable parameters. Reduces friction when organizing and managing assembly definitions across your project.
dev.n5y.asmdefhelper 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/asmdefhelper.git?path=Assets README Markdown
Copy this to your project's README.md
## Installation
Add **AsmdefHelper** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/asmdefhelper.git?path=Assets
```
[](https://www.pkglnk.dev/pkg/asmdefhelper)README
Asmdef Helper
Unity assembly definition utilities.
This library solve inconvenience of assembly definition on unity.
install via upm
Please add this line to dependencies of Packages/manifest.json.
"dev.n5y.asmdefhelper": "https://github.com/naninunenoy/AsmdefHelper.git?path=Assets"
Dependency Graph
Unity assembly definition viewer.
(menu) > [AsmdefHelper] > [Open DependencyGraph]
Show assembly definition referances in your project like this.
You need to organize the nodes by yourself.
You can toggle node appear/disappear.
Multiple Edit
Open multiple assembly definition inspector views for parallel editing.
- [AsmdefHelper] > [Find all asmdef in project]
- All asmdef will appear in project browser.
- Pick up asmdef to edit.
- [AsmdefHelper] > [Open selected asmdef inspector view]
- Open asmdef inspector views and edit these asmdef.
Compile Locker
Lock unity editor compile to edit an asmdef.
(menu) > [AsmdefHelper] > [Compile Lock]
- When checked, unity editor compile is stop.
I referred to this: decoc/CompileLocker.cs
Custom Create
Create an asmdef with some parametors you input.
- (right mouse button click) > [AsmdefHelper] > [create custom asmdef]
- input your parameters.
- click [Create] button.
When you checked Is Editor, to be created an asmdef for only platform Editor.
I referred to this: 【Unity】Assembly Definition を作成する時のコンパイル回数を抑えられるエディタ拡張「UniAssemblyDefinitionCreator」を GitHub に公開しました
And you can also rename an asmdef by one action.
- (right mouse button click) > [AsmdefHelper] > [Rename asmdef]
- input new name.
- click [Rename] button.
Environment
Unity 2021.2.8f1
This library use unity internal class, so may be not work (or couse build error) depending your unity vresion.
I referred to this: 【Unity, C#】internalな型やメンバにアクセスするには、多分これが一番早いと思います
License
MIT
No comments yet. Be the first!