Click or drag to resize

ITriggerableTriggerHit Method

This is the main way to use ITriggerables. This method is called by Trigger, which will pass in either true or false depending on the conditions of the Trigger. This can also be called by things other than Triggers, but it's good practice to turn whatever wants to call this into a Trigger so that it's easily reusable.

Namespace:  DustProductions.TriggerMeTimbers
Assembly:  DustProductions.TriggerMeTimbers (in DustProductions.TriggerMeTimbers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
void TriggerHit(
	MonoBehaviour triggeringBehaviour,
	bool triggerValue
)

Parameters

triggeringBehaviour
Type: MonoBehaviour
The object that's hitting the Triggerable, usually you pass in "this".
triggerValue
Type: SystemBoolean
The status of the triggeringBehaviour. Triggerables are set up to do different things based on what is passed in to them.
See Also