Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Classes | |
class | NavMeshData |
Public Member Functions | |
override void | OnReset (NavigationMesh navMesh) |
Called when the scene begins or is reset. More... | |
override void | TurnOn (NavigationMesh navMesh) |
Enables the NavMesh so that it can be used in pathfinding. More... | |
override Vector3[] | GetPointsArray (Vector3 originPos, Vector3 targetPos, AC.Char _char=null) |
Calculates a path between two points. More... | |
override void | ResetHoles (NavigationMesh navMesh) |
override string | GetPrefabName () |
Gets the name of a "helper" prefab to list in the Scene Manager. More... | |
override Vector3 | GetPointNear (Vector3 point, float minDistance, float maxDistance) |
Finds a random position surrounding a given point on a NavMesh. More... | |
override void | SceneSettingsGUI () |
Public Member Functions inherited from AC.NavigationEngine | |
Vector3[] | GetPointsArray (Vector3 startPosition, Vector3[] targetPositions, AC.Char _char=null) |
Calculates a path between multiple points. More... | |
virtual NavigationMesh | NavigationMeshGUI (NavigationMesh _target) |
virtual void | DrawGizmos (GameObject navMeshOb) |
Draws gizmos in the Scene/Game window. More... | |
Protected Attributes | |
bool | pathFailed = false |
Protected Attributes inherited from AC.NavigationEngine | |
Vector2[] | vertexData |
Properties | |
override bool | RequiresNavMeshGameObject [get] |
Properties inherited from AC.NavigationEngine | |
virtual bool | RequiresNavMeshGameObject [get] |
Additional Inherited Members | |
Public Attributes inherited from AC.NavigationEngine | |
bool | is2D = false |
|
virtual |
Finds a random position surrounding a given point on a NavMesh.
point | The given point on the NavMesh |
minDistance | The minimum distance between the given point and the random point |
maxDistance | The maximum distance between the given point and the random point |
Reimplemented from AC.NavigationEngine.
|
virtual |
Calculates a path between two points.
startPosition | The start position |
targetPosition | The intended end position |
_char | The character (see Char) who this path is for (only used in PolygonCollider pathfinding) |
Reimplemented from AC.NavigationEngine.
|
virtual |
Gets the name of a "helper" prefab to list in the Scene Manager.
Reimplemented from AC.NavigationEngine.
|
virtual |
Called when the scene begins or is reset.
navMesh | The NavigationMesh that is active in the scene. |
Reimplemented from AC.NavigationEngine.
|
virtual |
Integrates all PolygonCollider2D objects in the polygonColliderHoles List into the base PolygonCollider2D shape. This is called automatically by AddHole() and RemoveHole() once the List has been amended
Reimplemented from AC.NavigationEngine.
|
virtual |
Provides a space for any custom Editor GUI code that should be displayed in SceneManager.
Reimplemented from AC.NavigationEngine.
|
virtual |
Enables the NavMesh so that it can be used in pathfinding.
navMeshOb | The NavigationMesh gameobject to enable |
Reimplemented from AC.NavigationEngine.