![]() | TriggerableSetFloat Class |
Namespace: DustProductions.TriggerMeTimbers
public class TriggerableSetFloat : Triggerable, IComponentAddedHandler
The TriggerableSetFloat type exposes the following members.
Name | Description | |
---|---|---|
![]() | TriggerableSetFloat | Initializes a new instance of the TriggerableSetFloat class |
Name | Description | |
---|---|---|
![]() | HandleComponentAdded |
If a FloatValueSetter is added to this GameObject, we will automatically add it to our array.
|
![]() | Reset |
The Reset method Unity calls.
(Overrides TriggerableReset.) |
![]() | TriggerHit |
Sets values to custom or cached, depending on what options are selected in the inspector and what value is passed in.
(Overrides TriggerableTriggerHit(Boolean).) |
Name | Description | |
---|---|---|
![]() | UseCustomWhenTriggerFalse |
When this Triggerable is hit with a false value, and this value is true, use the values defined in the inspector. Or, when this Triggerable is hit with a false value, and this value is false, use the cached values.
|
![]() | UseCustomWhenTriggerTrue |
When this Triggerable is hit with a true value, and this value is true, use the values defined in the inspector. Or, when this Triggerable is hit with a true value, and this value is false, use the cached values.
|