Class TweenGroup<TTarget>
Inheritance
System.Object
TweenGroup<TTarget>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: cs.temp.dll.dll
Syntax
public class TweenGroup<TTarget> : TweenGroup where TTarget : class
Type Parameters
Name |
Description |
TTarget |
Type of the target object (needs to be a reference type)
|
Fields
_defaultTarget
Declaration
protected TTarget _defaultTarget
Field Value
Properties
DefaultTarget
Declaration
public override object DefaultTarget { get; }
Property Value
Type |
Description |
System.Object |
|
Overrides
DefaultTargetType
Declaration
public override Type DefaultTargetType { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
Methods
Add(Tween)
Declaration
public TweenGroup<TTarget> Add(Tween tween)
Parameters
Type |
Name |
Description |
Tween |
tween |
|
Returns
By<TValue>(Single, String, TValue, TweenConfigurator<TTarget, TValue>)
Declaration
public TweenGroup<TTarget> By<TValue>(float duration, string property, TValue byValue, TweenConfigurator<TTarget, TValue> configurator = null)
Parameters
Type |
Name |
Description |
System.Single |
duration |
|
System.String |
property |
|
TValue |
byValue |
|
TweenConfigurator<TTarget, TValue> |
configurator |
|
Returns
Type Parameters
By<TValue>(String, TValue, TweenConfigurator<TTarget, TValue>)
Declaration
public TweenGroup<TTarget> By<TValue>(string property, TValue byValue, TweenConfigurator<TTarget, TValue> configurator = null)
Parameters
Type |
Name |
Description |
System.String |
property |
|
TValue |
byValue |
|
TweenConfigurator<TTarget, TValue> |
configurator |
|
Returns
Type Parameters
By<TCustomTarget, TValue>(TCustomTarget, Single, String, TValue, TweenConfigurator<TCustomTarget, TValue>)
Declaration
public TweenGroup<TTarget> By<TCustomTarget, TValue>(TCustomTarget target, float duration, string property, TValue byValue, TweenConfigurator<TCustomTarget, TValue> configurator = null)
where TCustomTarget : class
Parameters
Type |
Name |
Description |
TCustomTarget |
target |
|
System.Single |
duration |
|
System.String |
property |
|
TValue |
byValue |
|
TweenConfigurator<TCustomTarget, TValue> |
configurator |
|
Returns
Type Parameters
Name |
Description |
TCustomTarget |
|
TValue |
|
From<TValue>(Single, String, TValue, TweenConfigurator<TTarget, TValue>)
Declaration
public TweenGroup<TTarget> From<TValue>(float duration, string property, TValue fromValue, TweenConfigurator<TTarget, TValue> configurator = null)
Parameters
Type |
Name |
Description |
System.Single |
duration |
|
System.String |
property |
|
TValue |
fromValue |
|
TweenConfigurator<TTarget, TValue> |
configurator |
|
Returns
Type Parameters
From<TValue>(String, TValue, TweenConfigurator<TTarget, TValue>)
Declaration
public TweenGroup<TTarget> From<TValue>(string property, TValue fromValue, TweenConfigurator<TTarget, TValue> configurator = null)
Parameters
Type |
Name |
Description |
System.String |
property |
|
TValue |
fromValue |
|
TweenConfigurator<TTarget, TValue> |
configurator |
|
Returns
Type Parameters
From<TCustomTarget, TValue>(TCustomTarget, Single, String, TValue, TweenConfigurator<TCustomTarget, TValue>)
Declaration
public TweenGroup<TTarget> From<TCustomTarget, TValue>(TCustomTarget target, float duration, string property, TValue fromValue, TweenConfigurator<TCustomTarget, TValue> configurator = null)
where TCustomTarget : class
Parameters
Type |
Name |
Description |
TCustomTarget |
target |
|
System.Single |
duration |
|
System.String |
property |
|
TValue |
fromValue |
|
TweenConfigurator<TCustomTarget, TValue> |
configurator |
|
Returns
Type Parameters
Name |
Description |
TCustomTarget |
|
TValue |
|
FromTo<TValue>(Single, String, TValue, TValue, TweenConfigurator<TTarget, TValue>)
Declaration
public TweenGroup<TTarget> FromTo<TValue>(float duration, string property, TValue fromValue, TValue toValue, TweenConfigurator<TTarget, TValue> configurator = null)
Parameters
Type |
Name |
Description |
System.Single |
duration |
|
System.String |
property |
|
TValue |
fromValue |
|
TValue |
toValue |
|
TweenConfigurator<TTarget, TValue> |
configurator |
|
Returns
Type Parameters
FromTo<TValue>(String, TValue, TValue, TweenConfigurator<TTarget, TValue>)
Declaration
public TweenGroup<TTarget> FromTo<TValue>(string property, TValue fromValue, TValue toValue, TweenConfigurator<TTarget, TValue> configurator = null)
Parameters
Type |
Name |
Description |
System.String |
property |
|
TValue |
fromValue |
|
TValue |
toValue |
|
TweenConfigurator<TTarget, TValue> |
configurator |
|
Returns
Type Parameters
FromTo<TCustomTarget, TValue>(TCustomTarget, Single, String, TValue, TValue, TweenConfigurator<TCustomTarget, TValue>)
Declaration
public TweenGroup<TTarget> FromTo<TCustomTarget, TValue>(TCustomTarget target, float duration, string property, TValue fromValue, TValue toValue, TweenConfigurator<TCustomTarget, TValue> configurator = null)
where TCustomTarget : class
Parameters
Type |
Name |
Description |
TCustomTarget |
target |
|
System.Single |
duration |
|
System.String |
property |
|
TValue |
fromValue |
|
TValue |
toValue |
|
TweenConfigurator<TCustomTarget, TValue> |
configurator |
|
Returns
Type Parameters
Name |
Description |
TCustomTarget |
|
TValue |
|
Reset()
Declaration
public override void Reset()
Overrides
To<TValue>(Single, String, TValue, TweenConfigurator<TTarget, TValue>)
Declaration
public TweenGroup<TTarget> To<TValue>(float duration, string property, TValue toValue, TweenConfigurator<TTarget, TValue> configurator = null)
Parameters
Type |
Name |
Description |
System.Single |
duration |
|
System.String |
property |
|
TValue |
toValue |
|
TweenConfigurator<TTarget, TValue> |
configurator |
|
Returns
Type Parameters
To<TValue>(String, TValue, TweenConfigurator<TTarget, TValue>)
Declaration
public TweenGroup<TTarget> To<TValue>(string property, TValue toValue, TweenConfigurator<TTarget, TValue> configurator = null)
Parameters
Type |
Name |
Description |
System.String |
property |
|
TValue |
toValue |
|
TweenConfigurator<TTarget, TValue> |
configurator |
|
Returns
Type Parameters
To<TCustomTarget, TValue>(TCustomTarget, Single, String, TValue, TweenConfigurator<TCustomTarget, TValue>)
Declaration
public TweenGroup<TTarget> To<TCustomTarget, TValue>(TCustomTarget target, float duration, string property, TValue toValue, TweenConfigurator<TCustomTarget, TValue> configurator = null)
where TCustomTarget : class
Parameters
Type |
Name |
Description |
TCustomTarget |
target |
|
System.Single |
duration |
|
System.String |
property |
|
TValue |
toValue |
|
TweenConfigurator<TCustomTarget, TValue> |
configurator |
|
Returns
Type Parameters
Name |
Description |
TCustomTarget |
|
TValue |
|
Use(TTarget, TweenOptions, ITweenEngine)
Declaration
public void Use(TTarget target, TweenOptions parentOptions, ITweenEngine engine)
Parameters