Class UnityTweenEngine
Inheritance
System.Object
UnityTweenEngine
Assembly: cs.temp.dll.dll
Syntax
public class UnityTweenEngine : MonoBehaviour, ITweenEngine
Fields
_groups
Declaration
protected List<TweenGroup> _groups
Field Value
_newGroups
Declaration
protected List<TweenGroup> _newGroups
Field Value
_singlesGroup
Declaration
protected TweenGroup<object> _singlesGroup
Field Value
Properties
Options
Declaration
public TweenOptions Options { get; }
Property Value
Pool
Declaration
public TweenPool Pool { get; set; }
Property Value
SinglesGroup
Declaration
public TweenGroup<object> SinglesGroup { get; }
Property Value
Methods
Cancel(Object, String)
Declaration
public void Cancel(object target, string property)
Parameters
Type |
Name |
Description |
System.Object |
target |
|
System.String |
property |
|
Create()
Create the UnityTweenEngine.
Declaration
public static UnityTweenEngine Create()
Returns
Create<TTarget, TValue>(TweenMethod, TTarget, Single, String, TValue, TValue, TValue, TweenOptions)
Declaration
public Tween<TTarget, TValue> Create<TTarget, TValue>(TweenMethod tweenMethod, TTarget target, float duration, string property, TValue startValue, TValue endValue, TValue diffValue, TweenOptions parentOptions = null)
where TTarget : class
Parameters
Type |
Name |
Description |
TweenMethod |
tweenMethod |
|
TTarget |
target |
|
System.Single |
duration |
|
System.String |
property |
|
TValue |
startValue |
|
TValue |
endValue |
|
TValue |
diffValue |
|
TweenOptions |
parentOptions |
|
Returns
Type |
Description |
Tween<TTarget, TValue> |
|
Type Parameters
Name |
Description |
TTarget |
|
TValue |
|
Finish(Object, String)
Declaration
public void Finish(object target, string property)
Parameters
Type |
Name |
Description |
System.Object |
target |
|
System.String |
property |
|
FixedUpdate()
Declaration
protected void FixedUpdate()
Has(Object, String)
Declaration
public bool Has(object target, string property)
Parameters
Type |
Name |
Description |
System.Object |
target |
|
System.String |
property |
|
Returns
Type |
Description |
System.Boolean |
|
LateUpdate()
Declaration
protected void LateUpdate()
LoadDynamicPlugins<TTarget, TValue>(Tween<TTarget, TValue>)
Declaration
public void LoadDynamicPlugins<TTarget, TValue>(Tween<TTarget, TValue> tween)
where TTarget : class
Parameters
Type |
Name |
Description |
Tween<TTarget, TValue> |
tween |
|
Type Parameters
Name |
Description |
TTarget |
|
TValue |
|
Overwrite(Tween)
Declaration
public void Overwrite(Tween tween)
Parameters
Type |
Name |
Description |
Tween |
tween |
|
ProcessTweens(TweenTiming)
Declaration
protected void ProcessTweens(TweenTiming timing)
Parameters
RegisterGroup(TweenGroup)
Declaration
public void RegisterGroup(TweenGroup tweenGroup)
Parameters
Stop(Object, String)
Declaration
public void Stop(object target, string property)
Parameters
Type |
Name |
Description |
System.Object |
target |
|
System.String |
property |
|
Update()
Declaration
Implements