![]() | TriggerableSetColor Class |
Namespace: DustProductions.TriggerMeTimbers
public class TriggerableSetColor : Triggerable, IComponentAddedHandler
The TriggerableSetColor type exposes the following members.
Name | Description | |
---|---|---|
![]() | TriggerableSetColor | Initializes a new instance of the TriggerableSetColor class |
Name | Description | |
---|---|---|
![]() | HandleComponentAdded |
If a ColorValueSetter is added to this Component, 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.
|