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
- HandTeleport
- PinchTeleport
- GestureTeleport
Protected Fields
HandInputDataProvider handInputDataProviderPublic Methods
void FindTeleportDestination()void TeleportGestureLost()void TryTeleport()void ResetTeleport()