Skip to content

Experimental automatic Assembly Definition generator for Unity Editor

License

Notifications You must be signed in to change notification settings

Varneon/AssemblyDefinitionGenerator

Repository files navigation

GitHub code size in bytes GitHub GitHub Repo stars GitHub all releases GitHub tag (latest SemVer)


Assembly Definition Generator

Experimental automatic Assembly Definition generator for Unity Editor

Unity Documentation - Assembly definitions

NOTE: Assembly Definition Generator is still in Open Alpha and generation may fail under various situations, such as when compiler errors are present during the generation process


Features

  • Automatic Assembly Definition References based on assemblies referenced by the existing scripts
  • Assembly Definitions created under Editor folders will be set to Editor platform only
  • Automatic UdonSharp Assembly Definition generation for folders containing UdonSharpBehaviours

How to use Assembly Definition Generator

  1. Right-click your Project window and navigate to Create > Assembly Definition (Automatic)

image

  1. Type in the name for the Assembly Definition in the file save dialog

image

  1. You should now have an automatically configured Assembly Definition in your folder

image


Installation via Unity Package Manager (git):

  1. Navigate to your toolbar: Window > Package Manager > [+] > Add package from git URL... and type in: https://github.com/Varneon/AssemblyDefinitionGenerator.git?path=/Packages/com.varneon.assembly-definition-generator

Installation via VRChat Creator Companion:

  1. Download the the repository's .zip here
  2. Unpack the .zip somewhere
  3. In VRChat Creator Companion, navigate to Settings > User Packages > Add
  4. Navigate to the unpacked folder, com.varneon.assembly-definition-generator and click Select Folder
  5. Assembly Definition Generator should now be visible under Local User Packages in the project view in VRChat Creator Companion

Installation via Unitypackage:

  1. Download latest Udon Array Extensions from here
  2. Import the downloaded .unitypackage into your Unity project