AssemblyDefinitionInfo.Parse Method
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.
Parses an asmdef file creating a new instance of AssemblyDefinitionInfo.
C#
public static Microsoft.MixedReality.Toolkit.MSBuild.AssemblyDefinitionInfo Parse (System.IO.FileInfo file, Microsoft.MixedReality.Toolkit.MSBuild.UnityProjectInfo unityProjectInfo, UnityEditor.Compilation.Assembly assembly, bool isBuiltInPackage = false);
static member Parse : System.IO.FileInfo * Microsoft.MixedReality.Toolkit.MSBuild.UnityProjectInfo * UnityEditor.Compilation.Assembly * bool -> Microsoft.MixedReality.Toolkit.MSBuild.AssemblyDefinitionInfo
Public Shared Function Parse (file As FileInfo, unityProjectInfo As UnityProjectInfo, assembly As Assembly, Optional isBuiltInPackage As Boolean = false) As AssemblyDefinitionInfo
- file
- FileInfo
The file representing asmdef.
- unityProjectInfo
- UnityProjectInfo
Instance of UnityProjectInfo.
- assembly
- UnityEditor.Compilation.Assembly
The Unity assembly reference.
- isBuiltInPackage
- Boolean
True whether this asmdef lives in the editor installation folder.
منتج | الإصدارات |
---|---|
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 |