|
override Vector3 | ConsiderDestination (Vector3 location) |
| This version of ConsiderDestination will only return a valid location if the pathing system is able to find a route from the current position to the candidate location. More...
|
|
|
override bool | ConsiderTeleport (Vector3 start, ref Vector3 end) |
| This method will be called while the LocmotionTeleport component is in the aiming state, once for each line segment that the targeting beam requires. The function should return true whenever an actual target location has been selected. More...
|
|
Protected Member Functions inherited from TeleportTargetHandler |
| TeleportTargetHandler () |
|
override void | AddEventHandlers () |
| Derived classes that need to use event handlers need to override this method and call the base class to ensure all event handlers are added as intended. More...
|
|
override void | RemoveEventHandlers () |
| Derived classes that need to use event handlers need to override this method and call the base class to ensure all event handlers are removed as intended. More...
|
|
virtual void | ResetAimData () |
|
virtual void | OnEnable () |
| OnEnable is virtual so that derived classes can set up references to objects before AddEventHandlers is called, as is required by TeleportSupport derivations. More...
|
|
virtual void | OnDisable () |
|
◆ ConsiderDestination()
override Vector3 TeleportTargetHandlerNavMesh.ConsiderDestination |
( |
Vector3 |
location | ) |
|
|
virtual |
This version of ConsiderDestination will only return a valid location if the pathing system is able to find a route from the current position to the candidate location.
- Parameters
-
- Returns
Reimplemented from TeleportTargetHandler.
◆ ConsiderTeleport()
override bool TeleportTargetHandlerNavMesh.ConsiderTeleport |
( |
Vector3 |
start, |
|
|
ref Vector3 |
end |
|
) |
| |
|
protectedvirtual |
This method will be called while the LocmotionTeleport component is in the aiming state, once for each line segment that the targeting beam requires. The function should return true whenever an actual target location has been selected.
- Parameters
-
Implements TeleportTargetHandler.
◆ NavMeshAreaMask
int TeleportTargetHandlerNavMesh.NavMeshAreaMask = UnityEngine.AI.NavMesh.AllAreas |
Controls which areas are to be used when doing nav mesh queries.
The documentation for this class was generated from the following file: