Enum InteractableFocusMode
Options for the focus policy of an Interactable.
Namespace: UnityEngine.XR.Interaction.Toolkit
Syntax
public enum InteractableFocusMode
Fields
Name | Description | Value |
---|---|---|
None | Focus not supported for this interactable. |
0 |
Single | Allows the Interactable to only be focused by a single Interaction group at a time and allows other Interaction groups to take focus by automatically losing focus. |
1 |
Multiple | Allows for multiple Interaction groups at a time to focus the Interactable. This option can be disabled in the Inspector window by adding the CanFocusMultipleAttribute with a value of false to a derived class of XRBaseInteractable. |
2 |