AssemblyDefinitionInfo Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class represents an AssemblyDefinition file of a Unity project. It can be used to parse the file contents using JsonUtility.FromJson.
public ref class AssemblyDefinitionInfo
public class AssemblyDefinitionInfo
type AssemblyDefinitionInfo = class
Public Class AssemblyDefinitionInfo
- Inheritance
-
AssemblyDefinitionInfo
allow |
|
auto |
|
define |
|
Editor |
|
exclude |
|
include |
|
optional |
|
override |
|
Test |
Built |
Gets whether this represents a built-in package that lives in Editor installation folder. |
Directory |
Gets the parent directory of the associated file, or returns the Assets folder if it's a DefaultAssembly. |
Editor |
Gets whether the Editor platform is specified to be supported. |
Guid |
Gets or sets the parsed Guid of the AssemblyDefinition asset. |
Is |
Gets whether this is a default assembly definition like Assembly-CSharp |
Name |
Name of this assembly definition info |
Non |
Gets whether any non-Editor platforms are specified to be supported. |
Precompiled |
Gets DLL references for this assembly definition. |
References |
Gets AsmDef references for this assembly definition. |
Test |
Gets whether this is marked as a TestAssembly. |
Get |
Creates an instance of AssemblyDefinitionInfo for the default projects (such as Assembly-CSharp) |
Get |
Gets the source files for this assembly definition. |
Parse(File |
Parses an asmdef file creating a new instance of AssemblyDefinitionInfo. |
To |
A more readable string representation for assembly definition. |
Validate(IEnumerable<Compilation |
After it's parsed from JSON, this method should be invoked to validate some of the values and set additional properties. |
منتج | الإصدارات |
---|---|
MRTK2 Unity 2018 | 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |