Inheritance diagram for TeleportTargetHandlerNavMesh:
TeleportTargetHandler TeleportSupport

Public Member Functions

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

Public Attributes

int NavMeshAreaMask = UnityEngine.AI.NavMesh.AllAreas
 Controls which areas are to be used when doing nav mesh queries. More...
 
- Public Attributes inherited from TeleportTargetHandler
LayerMask AimCollisionLayerMask
 This bitmask controls which game object layers will be included in the targeting collision tests. More...
 

Protected Member Functions

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 ()
 
- Protected Member Functions inherited from TeleportSupport
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 ()
 

Additional Inherited Members

- Protected Attributes inherited from TeleportTargetHandler
readonly LocomotionTeleport.AimData AimData = new LocomotionTeleport.AimData()
 
- Properties inherited from TeleportSupport
LocomotionTeleport LocomotionTeleport [get]
 

Member Function Documentation

◆ 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
location
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
start
end

Implements TeleportTargetHandler.

Member Data Documentation

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