Nav3DManager
Nav3DManager is a helper static class. Can be useful for checking whether Nav3D has initialized and/or performing certain actions on the initialization
There are implemented the following members:
- A
bool Inited
property that indicates whether Nav3D has already been initialized. - Event
event Action OnNav3DInit
. It fires immediately after Nav3D is initialized. By subscribing to it you will be able to perform any actions with Nav3D initialization. When you subscribe to an event, your delegate will work instantly, if initialization has already been done previously. - Method
IsPointInsideOccupiedVolume(Vector3 _Point)
. Can be useful for determining whether the point is inside of the space occupied by any obstacle.
If you try to use public methods from Nav3D.API namespace before Nav3D is initialized, a Nav3DManagerNotInitializedException
will be thrown. Any actions with Nav3D entities may be performed only after its initialization.