Click or drag to resize

TriggerableSetTransformValues Class

Allows you to set values on a Transform based on some other behaviour. Works for Transforms and RectTransforms.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          DustProductions.TriggerMeTimbersTriggerable
            DustProductions.TriggerMeTimbersTriggerableSetTransformValues

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

The TriggerableSetTransformValues type exposes the following members.

Constructors
  NameDescription
Public methodTriggerableSetTransformValues
Initializes a new instance of the TriggerableSetTransformValues class
Top
Methods
  NameDescription
Protected methodAwake
The Awake method Unity calls.
Public methodHandleComponentAdded
If a TransformValueSetter is added to this Component, we will automatically add it to our array.
Protected methodReset
The Reset method Unity calls.
(Overrides TriggerableReset.)
Protected methodStart
The Start method Unity calls.
Protected methodTriggerHit
Called by Triggers (or anything else, for that matter).
(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 on the TransformValueSetters.
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 on the TransformValueSetters.
Top
See Also