docs.unity3d.com
    Show / Hide Table of Contents

    Class PackageManagerEditorHelper

    Helper utility class for Inspector UnityEditor.XR.Interaction.Toolkit.Editor classes to warn about a package dependency.

    Inheritance
    Object
    PackageManagerEditorHelper
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.XR.Interaction.Toolkit.Utilities
    Syntax
    [MovedFrom("UnityEngine.XR.Interaction.Toolkit.Utilities")]
    public class PackageManagerEditorHelper

    Constructors

    PackageManagerEditorHelper(String)

    Creates a new PackageManagerEditorHelper to use for a package.

    Declaration
    public PackageManagerEditorHelper(string packageIdentifier)
    Parameters
    Type Name Description
    String packageIdentifier

    A string representing the package to be added.

    Properties

    inputSystemHelper

    Shared helper for the com.unity.xr.arfoundation package.

    Declaration
    public static PackageManagerEditorHelper inputSystemHelper { get; }
    Property Value
    Type Description
    PackageManagerEditorHelper

    Methods

    DrawDependencyHelpBox()

    Draws a help box with a warning that the component has a dependency, and a button to install the package dependency.

    Declaration
    public void DrawDependencyHelpBox()

    Reset()

    See MonoBehaviour.

    Declaration
    public void Reset()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023