Class PackageManagerEditorHelper
Helper utility class for Inspector UnityEditor.XR.Interaction.Toolkit.Editor classes to warn about a package dependency.
Inherited Members
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()