docs.unity.cn
    Show / Hide Table of Contents

    Enum BaseTeleportationInteractable.TeleportTrigger

    Indicates when the teleportation action happens.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public enum TeleportTrigger

    Fields

    Name Description Value
    OnSelectExited

    Teleportation occurs once selection is released without being canceled.


    0
    OnSelectEntered

    Teleportation occurs right when area is selected.


    1
    OnActivated

    Teleportation occurs on activate.


    2
    OnDeactivated

    Teleportation occurs on deactivate.


    3
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, July 24, 2023