Class EditorProjectUtilities
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Editor
Assembly: cs.temp.dll.dll
Syntax
public static class EditorProjectUtilities
Methods
CheckMinimumEditorVersion()
Checks that a supported version of Unity is being used with this project.
Declaration
public static void CheckMinimumEditorVersion()
Remarks
This method displays a message to the user allowing them to continue or to exit the editor.
CheckMinimumEditorVersion()
Checks that a supported version of Unity is being used with this project.
Declaration
public static void CheckMinimumEditorVersion()
Remarks
This method displays a message to the user allowing them to continue or to exit the editor.
FindRelativeDirectory(String, out String)
Finds the path of a directory relative to the project directory.
Declaration
public static bool FindRelativeDirectory(string packageDirectory, out string path)
Parameters
Type | Name | Description |
---|---|---|
String | packageDirectory | The name of the directory to search for. |
String | path | The output parameter in which the fully qualified path is returned. |
Returns
Type | Description |
---|---|
Boolean | True if the directory could be found, false otherwise. |
FindRelativeDirectory(String, out String)
Finds the path of a directory relative to the project directory.
Declaration
public static bool FindRelativeDirectory(string packageDirectory, out string path)
Parameters
Type | Name | Description |
---|---|---|
String | packageDirectory | The name of the directory to search for. |
String | path | The output parameter in which the fully qualified path is returned. |
Returns
Type | Description |
---|---|
Boolean | True if the directory could be found, false otherwise. |