docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NavDestinationTemplate

    Represents a default destination template for navigation within the application.

    Inheritance
    object
    NavDestinationTemplate
    DefaultDestinationTemplate
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.Navigation
    Assembly: Unity.AppUI.Navigation.dll
    Syntax
    [Serializable]
    public abstract class NavDestinationTemplate

    Methods

    CreateScreen(NavHost)

    Creates a new instance of the navigation screen defined by this template.

    Declaration
    public abstract INavigationScreen CreateScreen(NavHost host)
    Parameters
    Type Name Description
    NavHost host

    The navigation host that will manage the screen.

    Returns
    Type Description
    INavigationScreen

    An instance of the navigation screen defined by this template.

    Remarks

    The returned screen should be a subclass of VisualElement.

    See Also
    NavDestination

    See Also

    NavDestination
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)