docs.unity3d.com
    Show / Hide Table of Contents

    Class NavMeshComponentsGUIUtility

    Class containing a set of utility functions meant for presenting information from the NavMeshComponents into the GUI.

    Inheritance
    Object
    NavMeshComponentsGUIUtility
    Namespace: Unity.AI.Navigation.Editor
    Syntax
    public static class NavMeshComponentsGUIUtility : object

    Methods

    AgentMaskPopup(String, SerializedProperty)

    Displays a GUI element for selecting multiple agent types for which a NavMeshModifier or NavMeshModifierVolume can influence the NavMesh.

    Declaration
    public static void AgentMaskPopup(string labelName, SerializedProperty agentMask)
    Parameters
    Type Name Description
    String labelName
    SerializedProperty agentMask

    AgentTypePopup(String, SerializedProperty)

    Displays a GUI element for selecting the agent type used by a NavMeshSurface or NavMeshLink.

    Declaration
    public static void AgentTypePopup(string labelName, SerializedProperty agentTypeID)
    Parameters
    Type Name Description
    String labelName
    SerializedProperty agentTypeID

    AreaPopup(String, SerializedProperty)

    Displays a GUI element for selecting the area type used by a NavMeshSurface, NavMeshLink, NavMeshModifier or NavMeshModifierVolume.

    Declaration
    public static void AreaPopup(string labelName, SerializedProperty areaProperty)
    Parameters
    Type Name Description
    String labelName
    SerializedProperty areaProperty

    CreateAndSelectGameObject(String, GameObject)

    Creates a new GameObject as a child of another one and selects it immediately.

    Declaration
    public static GameObject CreateAndSelectGameObject(string suggestedName, GameObject parent)
    Parameters
    Type Name Description
    String suggestedName
    GameObject parent
    Returns
    Type Description
    GameObject
    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