Click or drag to resize

Triggerable Methods

The Triggerable type exposes the following members.

Protected methodReset
The Reset method Unity calls.
Protected methodTriggerHit(Boolean)
This TriggerHit is protected from access by outside classes. It must be implemented in inheriting classes. It will be called after the Triggerable does all the behaviour defined in the public TriggerHit. This is where you would determine what happens when either true or false is passed in.
Public methodTriggerHit(MonoBehaviour, Boolean)
This is the main way to use Triggerables. 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.
See Also