Determines if the interactable can be interacted on by the given interactor.
Similar to
Interactor<TInteractor, TInteractable>.CanSelect(TInteractable), the specific question answered by this method is not about interaction
candidacy but more about interaction
possibility: it does not test whether the
interactor might select this interactable, but only whether the interactor would be able to if it tried. This is a more ephemeral answer for
TInteractable than for
TInteractor ; enablement and number of currently active interactions (both highly variable considerations over time) factor into this test for the interactable. To emphasize this point
Interactor<TInteractor, TInteractable>.CanSelect(TInteractable) and
Interactable<TInteractor, TInteractable>.CanBeSelectedBy(TInteractor) are asymmetric: the fact that an interactor is capable of selecting an interactable does not imply that the interactable is capable of being selected by that interactor, nor vice versa, and
both must be true in order for a valid interaction to be possible.
ParametersinteractorThe interactor that intends to interact with the interactable.
ReturnsTrue if the interactor can interact with the interactable, false otherwise.