Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.NavigationManager Class Reference
Inheritance diagram for AC.NavigationManager:

Public Member Functions

void OnAwake (NavigationMesh defaultNavMesh)
 
void ResetEngine ()
 
bool Is2D ()
 Checks if the Navigation Engine is written to work with Unity 2D or not. More...
 

Public Attributes

NavigationEngine navigationEngine = null
 

Detailed Description

This component instantiates the scene's chosen NavigationEngine ScriptableObject when the game begins. It should be placed on the GameEngine prefab.

Member Function Documentation

◆ Is2D()

bool AC.NavigationManager.Is2D ( )

Checks if the Navigation Engine is written to work with Unity 2D or not.

Returns
True if the Navigation Engine is written to work with Unity 2D.

◆ ResetEngine()

void AC.NavigationManager.ResetEngine ( )

Sets up the scene's chosen NavigationEngine ScriptableObject if it is not already present.

Member Data Documentation

◆ navigationEngine

NavigationEngine AC.NavigationManager.navigationEngine = null

The NavigationEngine ScriptableObject that performs the scene's pathfinding algorithms.