API reference
API reference
Select your platform
No SDKs available
No versions available

InteractableTriggerBroadcaster Class

Extends MonoBehaviour
Acts as a forwarder of Trigger events for Rigidbody overlaps.
Used in conjunction with CollisionInteractionRegistry.
Note: If Physics.autoSimulation is false, ForceGlobalUpdateTrigger should be called after every call to Physics.Simulate

Fields

Action< IInteractable, Rigidbody > WhenTriggerEntered[Get]
Action< IInteractable, Rigidbody > WhenTriggerExited[Get]

Protected Fields

bool _started[Get]

Protected Functions

virtual void Start ( )
virtual void OnTriggerStay
( Collider collider )
virtual void OnEnable ( )
virtual void FixedUpdate ( )
virtual void OnDisable ( )
virtual void OnDestroy ( )

Static Member Functions

static void ForceGlobalUpdateTriggers ( )

Member Functions

void InjectAllInteractableTriggerBroadcaster
( IInteractable interactable )
void InjectInteractable
( IInteractable interactable )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon