Click or drag to resize

TransformValueSetter Class

Use this to modify a Transform’s position, rotation, and / or scale. With a RectTransform, you can also modify the anchors, pivot, and sizeDelta values.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          DustProductions.CoreCacheable
            DustProductions.CoreCacheableValueSetter
              DustProductions.CoreValueSetterTransformValues
                DustProductions.CoreTransformValueSetter

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class TransformValueSetter : ValueSetter<TransformValues>

The TransformValueSetter type exposes the following members.

Constructors
  NameDescription
Public methodTransformValueSetter
Initializes a new instance of the TransformValueSetter class
Top
Methods
  NameDescription
Public methodStatic memberGetAffectedType
Gets the Type of the object we are going to set with this setter.
Public methodGetReferencedComponent
Fetch the Component this setter is referencing.
(Overrides CacheableValueSetterGetReferencedComponent.)
Protected methodReset
The Reset method Unity calls. Looks for an Transform and hooks it up if it exists.
(Overrides ValueSetterTReset.)
Protected methodTryGetReferencedValue
Gets the Transform we are going to modify.
(Overrides ValueSetterTTryGetReferencedValue(NullableT).)
Protected methodTryGetTransitionValue
Gets a value from the TransitionDefinition defined on the GameObject.
(Overrides ValueSetterTTryGetTransitionValue(T, T, Single, T).)
Protected methodTrySetReferencedValue
Sets the values of a Transform, if one exists.
(Overrides ValueSetterTTrySetReferencedValue(T).)
Top
Extension Methods
  NameDescription
Public Extension MethodAnnounceComponentAdded
Notifies any IComponentHandlers on the GameObject a Component is added to, that the Component has been added.
(Defined by ExtensionMethods.)
Public Extension MethodStartCoroutineT
Use by calling this.StartCoroutine and assigning it to a Coroutine. Then you can call your assigned coroutine.Cancel(), or .HasFinished, or a variety of other neat things.
(Defined by ExtensionMethods.)
Public Extension MethodTryGetComponentT(T, Boolean)Overloaded.
Attempts to get a component on a gameobject.
(Defined by ExtensionMethods.)
Public Extension MethodTryGetComponentT1, T2(T1, Boolean)Overloaded.
Attempts to get a component on a gameobject.
(Defined by ExtensionMethods.)
Public Extension MethodTryGetComponentsT(T, Boolean)Overloaded.
Attempts to get components on a gameobject.
(Defined by ExtensionMethods.)
Public Extension MethodTryGetComponentsT1, T2(T1, Boolean)Overloaded.
Attempts to get components on a gameobject.
(Defined by ExtensionMethods.)
Top
See Also