Skip to main content
Version: 3.0

class NavMeshManager

(Niantic.Lightship.AR.NavigationMesh.NavMeshManager)

Overview

NavMeshManager is a MonoBehaviour that will create a NavMesh configured according to your settings and manage how it gets updated. You can add this component to a GameObject in your scene to use the NavMesh features. You can pass this to any GameObject s that may need the NavMesh e.g. your agents that handle moving across the board.

	class NavMeshManager: MonoBehaviour {
public:
// fields

bool _visualise = true;

// properties

NavMesh NavMesh;
};

Detailed Documentation

NavMeshManager is a MonoBehaviour that will create a NavMesh configured according to your settings and manage how it gets updated. You can add this component to a GameObject in your scene to use the NavMesh features. You can pass this to any GameObject s that may need the NavMesh e.g. your agents that handle moving across the board.

Properties

NavMesh NavMesh

A reference to the NavMesh that is being managed by this NavMeshManager