Enum BaseTeleportationInteractable.TeleportTrigger
Indicates when the teleportation action happens.
Namespace: UnityEngine.XR.Interaction.Toolkit
Syntax
public enum TeleportTrigger : int
Fields
Name | Description | Value |
---|---|---|
OnActivate | Teleportation occurs on activate. |
|
OnActivated | Teleportation occurs on activate. |
2 |
OnDeactivate | Teleportation occurs on deactivate. |
|
OnDeactivated | Teleportation occurs on deactivate. |
3 |
OnSelectEnter | Teleportation occurs right when area is selected. |
|
OnSelectEntered | Teleportation occurs right when area is selected. |
1 |
OnSelectExit | Teleportation occurs once selection is released without being canceled. |
|
OnSelectExited | Teleportation occurs once selection is released without being canceled. |
0 |