mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class EditorProjectUtilities

    Inheritance
    Object
    EditorProjectUtilities
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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.

    In This Article
    • Methods
      • CheckMinimumEditorVersion()
      • CheckMinimumEditorVersion()
      • FindRelativeDirectory(String, out String)
      • FindRelativeDirectory(String, out String)
    Back to top Generated by DocFX