docs.unity3d.com
    Show / Hide Table of Contents

    Class NavMeshAssetManager

    Manages assets and baking operation of the navmesh

    Inheritance
    Object
    NavMeshAssetManager
    Namespace: Unity.AI.Navigation.Editor
    Syntax
    public class NavMeshAssetManager : ScriptableSingleton<NavMeshAssetManager>

    Methods

    ClearSurfaces(Object[])

    Clear navmesh surfaces

    Declaration
    public void ClearSurfaces(Object[] surfaces)
    Parameters
    Type Name Description
    Object[] surfaces

    List of surfaces

    IsSurfaceBaking(NavMeshSurface)

    Checks if an operation of baking is in progress for a specified surface

    Declaration
    public bool IsSurfaceBaking(NavMeshSurface surface)
    Parameters
    Type Name Description
    NavMeshSurface surface

    A navmesh surface

    Returns
    Type Description
    Boolean

    True if the specified surface is baking

    StartBakingSurfaces(Object[])

    Start baking a list of NavMeshSurface

    Declaration
    public void StartBakingSurfaces(Object[] surfaces)
    Parameters
    Type Name Description
    Object[] surfaces

    List of surfaces

    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