Method ShouldAnyMemberOverrideInteraction
ShouldAnyMemberOverrideInteraction(IXRInteractor, out IXRSelectInteractor)
Checks whether any member of the Group should override the interactions of interactingInteractor.
An interactor should only override if it is capable of selecting any interactable that interactingInteractor
is interacting with. If multiple Group members are capable of overriding, only the highest priority one should override.
Declaration
bool ShouldAnyMemberOverrideInteraction(IXRInteractor interactingInteractor, out IXRSelectInteractor overridingInteractor)
Parameters
| Type | Name | Description |
|---|---|---|
| IXRInteractor | interactingInteractor | The interactor that is interacting with an interactable. |
| IXRSelectInteractor | overridingInteractor | The interactor that should override interaction. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if any member of the Group should override the interactions of
|
Remarks
The implementation of this method should call this method on each Group member that is an IXRInteractionOverrideGroup.