Click or drag to resize

TriggerableSetColor Class

Sets Color values on some sort of trigger.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          DustProductions.TriggerMeTimbersTriggerable
            DustProductions.TriggerMeTimbersTriggerableSetColor

Namespace:  DustProductions.TriggerMeTimbers
Assembly:  DustProductions.TriggerMeTimbers (in DustProductions.TriggerMeTimbers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class TriggerableSetColor : Triggerable, 
	IComponentAddedHandler

The TriggerableSetColor type exposes the following members.

Constructors
  NameDescription
Public methodTriggerableSetColor
Initializes a new instance of the TriggerableSetColor class
Top
Methods
  NameDescription
Public methodHandleComponentAdded
If a ColorValueSetter is added to this Component, we will automatically add it to our array.
Protected methodReset
The Reset method Unity calls.
(Overrides TriggerableReset.)
Protected methodTriggerHit
Sets values to custom or cached, depending on what options are selected in the inspector and what value is passed in.
(Overrides TriggerableTriggerHit(Boolean).)
Top
Fields
  NameDescription
Protected fieldUseCustomWhenTriggerFalse
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.
Protected fieldUseCustomWhenTriggerTrue
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.
Top
See Also