Skip to main content

Teleport

  • Abstract class

Protected fields

LocomotionSystem locomotionSystem
HandSkeleton handSkeleton
RayVisuals rayVisuals
GameObject teleportReticle
```jsx
float inputConfidenceThreshold
float maxTeleportRayDistance
LayerMask ignoreLayers
UnityEvent onTeleported
TeleportDestination teleportDestination
TeleportRayInteractor teleportRayInteractor
Transform handPalm
Transform indexFingerTip
Transform teleportReticleTransform
Transform teleportRayStart
bool isTeleportAllowed

Protected methods

virtual void CheckForTeleportDestination()
- Override it and add your logic to finding teleport destinations
void TeleportPlayer()
  • Teleports player to TeleportDestination location
void ResetTeleportVariables()
void ActivateTeleportReticle()

Implementations

  • Abstract class
  • Inherits Teleport


  • Protected Fields

    HandInputDataProvider handInputDataProvider