Class CanFocusMultipleAttribute
Add this attribute to an XR Interaction component to control whether to allow or disallow multiple focus mode.
Implements
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public sealed class CanFocusMultipleAttribute : Attribute, _Attribute
Constructors
| Name | Description |
|---|---|
| CanFocusMultipleAttribute(bool) | Initializes the attribute specifying whether to allow or disallow multiple focus mode. |
Properties
| Name | Description |
|---|---|
| allowMultiple | Whether to allow multiple focus mode. The default value is true to allow. |