2020-11-30 00:21:12 +09:00
2020-11-30 00:21:12 +09:00
2020-10-07 01:56:22 +09:00
2020-10-07 01:56:22 +09:00
2020-11-26 00:41:49 +09:00
2020-10-07 01:56:22 +09:00
2020-04-13 23:41:42 +09:00
2020-04-15 21:42:49 +09:00
2020-04-15 22:51:34 +09:00
2020-10-28 01:11:49 +09:00

Asmdef Helper

Unity assembly definition utilities.

This library solve inconvenience of assembly definition on unity.

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.

Multiple Edit

Open multiple assembly definition inspector views for parallel editing.

  1. [AsmdefHelper] > [Find all asmdef in project]
  2. All asmdef will appear in project browser.
  3. Pick up asmdef to edit.
  4. [AsmdefHelper] > [Open selected asmdef inspector view]
  5. Open asmdef inspector views and edit these asmdef.

Sync Solution

Refresh .sln/.csproj in your project.

(menu) > [AsmdefHelper] > [Sync C# Solution]

I referred to this: [SOLVED] Unity not generating .sln file from Assets > Open C# Project

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 2020.1.6f1

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

Author

@naninunenoy

Description
Unity assembly definition utilities.
Readme 242 KiB
Languages
C# 100%