Skip to main content
Version: 3.3

class LightshipNavMeshManager

(Niantic.Lightship.AR.NavigationMesh.LightshipNavMeshManager)

Overview

LightshipNavMeshManager is a MonoBehaviour that will create a LightshipNavMesh 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 LightshipNavMesh features. You can pass this to any GameObject s that may need the LightshipNavMesh e.g. your agents that handle moving across the board.

    class LightshipNavMeshManager: MonoBehaviour {
public:
// fields

bool _visualise = true;

// properties

LightshipNavMesh LightshipNavMesh;
};

Detailed Documentation

LightshipNavMeshManager is a MonoBehaviour that will create a LightshipNavMesh 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 LightshipNavMesh features. You can pass this to any GameObject s that may need the LightshipNavMesh e.g. your agents that handle moving across the board.

Properties

LightshipNavMesh

LightshipNavMesh LightshipNavMesh

A reference to the LightshipNavMesh that is being managed by this LightshipNavMeshManager