VR Interaction Framework v2.0
Loading...
Searching...
No Matches
BNG.TeleportDestination Class Reference

A marker for valid teleport destinations. More...

Inheritance diagram for BNG.TeleportDestination:

Public Attributes

Transform DestinationTransform
 Where the player will be teleported to.
 
bool ForcePlayerRotation = false
 Snap player to this rotation?
 
UnityEvent OnPlayerTeleported
 

Detailed Description

A marker for valid teleport destinations.

Member Data Documentation

◆ DestinationTransform

Transform BNG.TeleportDestination.DestinationTransform

Where the player will be teleported to.

◆ ForcePlayerRotation

bool BNG.TeleportDestination.ForcePlayerRotation = false

Snap player to this rotation?

◆ OnPlayerTeleported

UnityEvent BNG.TeleportDestination.OnPlayerTeleported

The documentation for this class was generated from the following file: