Click or drag to resize

TriggerableSetFloat Class

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

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

The TriggerableSetFloat type exposes the following members.

Constructors
  NameDescription
Public methodTriggerableSetFloat
Initializes a new instance of the TriggerableSetFloat class
Top
Methods
  NameDescription
Public methodHandleComponentAdded
If a FloatValueSetter is added to this GameObject, 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