Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Assembly Definition Reference Inspector window reference

Inspector-editable properties of assembly defintion reference assets and their meaning.
Read time 1 minuteLast updated 12 days ago

An Assembly Definition Reference is an asset that defines a reference to an Assembly Definition. Create an Assembly Definition Reference asset in a folder to include the scripts in that folder in the referenced Assembly Definition (rather than creating a new assembly). Scripts in child folders are also included, unless they have their own Assembly Definition or Assembly Definition Reference asset.

An Assembly Definition Reference asset in the Inspector.

Property

Description

Use GUIDThis setting controls how Unity serializes the reference to the Assembly Definition Reference asset. When you enable this property, Unity saves the reference as the asset's GUID, instead of the Assembly Definition name. It's good practice to use the GUID instead of the name, because it means you can make changes to the name of an Assembly Definition asset without having to update other Assembly Definitions and References that reference it.
Assembly DefinitionThe referenced Assembly Definition asset.

Additional resources