TeleportDestination

  • Abstract class. Has two concrete implementations: TeleportArea and TeleportAnchor

Public Fields

bool CanTeleportHere

Vector3 HitNormal

UnityEvent OnTeleportedToDestination

UnityEvent OnTeleportedFromDestination

Protected Fields

Vector3 teleportLocation

Public Methods

Vector3 GetTeleportLocation()

virtual void SetTeleportLocation(RaycastHit)

Last updated