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

Public Member Functions

void OnAwake ()
 
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.

◆ OnAwake()

void AC.NavigationManager.OnAwake ( )

Initialises the Navigation Engine. This is public so we have control over when it is called in relation to other Awake functions.

◆ 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.