API reference

SecondaryInteractorFilter Class

Extends MonoBehaviour
Implements IGameObjectFilter
Checks for the existence of a Secondary Interactor Connection given a Primary Interaction.
Filters out Interactors which are not Secondary to a hovering or selecting Primary.

Protected Fields

_started : bool
Signature
bool _started

Properties

PrimaryInteractable : IInteractable
[Get]
Signature
IInteractable PrimaryInteractable
SecondaryInteractable : IInteractable
[Get]
Signature
IInteractable SecondaryInteractable

Protected Methods

Awake ()
Signature
virtual void Awake()
Returns
void
OnDisable ()
Signature
virtual void OnDisable()
Returns
void
OnEnable ()
Signature
virtual void OnEnable()
Returns
void
Start ()
Signature
virtual void Start()
Returns
void

Methods

Filter ( gameObject )
Signature
bool Filter(GameObject gameObject)
Parameters
gameObject: GameObject
Returns
bool
InjectAllSecondaryInteractorFilter ( primaryInteractable , secondaryInteractable , selectRequired )
Signature
void InjectAllSecondaryInteractorFilter(IInteractable primaryInteractable, IInteractable secondaryInteractable, bool selectRequired=false)
Parameters
primaryInteractable: IInteractable
secondaryInteractable: IInteractable
selectRequired: bool
Returns
void