.asmdef
Unity 3D assembly definition file
| Type | object |
|---|---|
| File match |
*.asmdef
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/asmdef/latest.json |
| Source | https://www.schemastore.org/asmdef.json |
Validate with Lintel
npx @lintel/lintel check
Defines an assembly in the Unity compilation pipeline
Properties
The name of the assembly being defined
The root namespace of the assembly. Requires Unity 2020.2
A list of assembly names or assembly asset GUIDs to reference
Allow unsafe code
When true, this assembly definition is automatically referenced by predefined assemblies (Assembly-CSharp, Assembly-CSharp-firstpass, etc.)
When true, no references to UnityEngine or UnityEditor will be added to this assembly project
When true, any references to precompiled assembly assets are manually chosen. When false, all precompiled assembly assets are automatically referenced
A list of precompiled assembly assets that will be referenced. Only valid when overrideReferences is true
A list of the C# compiler define symbols that must evaluate to true in order for the assembly to be compiled or referenced. Absence of a symbol can be checked with a bang symbol (!DEFINE)
Additional optional Unity features to reference
A set of expressions that will define a symbol in the C# project if a package or module version matches the given expression