Method IsSelected
IsSelected(IXRSelectInteractor)
Determines whether this Interactable is currently being selected by the Interactor.
Declaration
public bool IsSelected(IXRSelectInteractor interactor)
Parameters
| Type | Name | Description |
|---|---|---|
| IXRSelectInteractor | interactor | Interactor to check. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if this Interactable is currently being selected by the Interactor.
Otherwise, returns |
Remarks
In other words, returns whether interactorsSelecting contains interactor.
See Also
IsSelected(IXRInteractor)
Determines whether this Interactable is currently being selected by the Interactor.
Declaration
protected bool IsSelected(IXRInteractor interactor)
Parameters
| Type | Name | Description |
|---|---|---|
| IXRInteractor | interactor | Interactor to check. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if this Interactable is currently being selected by the Interactor.
Otherwise, returns |
Remarks
In other words, returns whether interactorsSelecting contains interactor.