docs.unity3d.com
    Show / Hide Table of Contents

    Class PackageNotificationInfo

    This class holds information that should be displayed in an Editor tooltip for a given package.

    Inheritance
    Object
    PackageNotificationInfo
    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 GUIContent icon to display in the XR Plug-in Management window. If the tooltip of this icon is empty, null, only whitespace, or otherwise invalid, the constructor will throw an exception.

    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
    Back to top
    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