Class PackageNotificationInfo
This class holds information that should be displayed in an Editor tooltip for a given package.
Inherited Members
Namespace: UnityEditor.XR.Management
Assembly: Unity.XR.Management.Editor.dll
Syntax
public class PackageNotificationInfo
Constructors
PackageNotificationInfo(GUIContent, string, string)
Constructs a container for package notification information that displays in the XR Plug-in Management window.
Declaration
public PackageNotificationInfo(GUIContent userInterfaceIcon, string tooltip, string additionalInfoUri = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GUIContent | userInterfaceIcon | The |
| string | tooltip | |
| string | additionalInfoUri | Used to surface a URI that points to additional information about the notification. For example, clicking the icon directly could send the user to the package documentation website. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if either userInterfaceIcon does not contain a valid tooltip or if additionalInfoUri is not empty and isn't a valid URI string. |
Fields
additionalInfoUri
A read-only string that contains a link to additional information about the warning.
Declaration
public readonly string additionalInfoUri
Field Value
| Type | Description |
|---|---|
| string |
Remarks
If this is null or empty, the window will not redirect the user.
userInterfaceIcon
The GUI icon and tooltip that will be drawn for this PackageNotificationInfo.
Declaration
public readonly GUIContent userInterfaceIcon
Field Value
| Type | Description |
|---|---|
| GUIContent |