Class PackageNotificationInfo
This class holds information that should be displayed in an Editor tooltip for a given package.
Namespace: UnityEditor.XR.Management
Syntax
public class PackageNotificationInfo : object
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. |
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 |