Show / Hide Table of Contents

Class UnityTweenEngine

Tween engine.

Inheritance
System.Object
UnityTweenEngine
Implements
ITweenEngine
Namespace: Sttz.Tweener.Core
Assembly: cs.temp.dll.dll
Syntax
public class UnityTweenEngine : MonoBehaviour, ITweenEngine

Fields

_groups

Declaration
protected List<TweenGroup> _groups
Field Value
Type Description
List<TweenGroup>

_newGroups

Declaration
protected List<TweenGroup> _newGroups
Field Value
Type Description
List<TweenGroup>

_singlesGroup

Declaration
protected TweenGroup<object> _singlesGroup
Field Value
Type Description
TweenGroup<System.Object>

Properties

Options

Declaration
public TweenOptions Options { get; }
Property Value
Type Description
TweenOptions

Pool

Declaration
public TweenPool Pool { get; set; }
Property Value
Type Description
TweenPool

SinglesGroup

Declaration
public TweenGroup<object> SinglesGroup { get; }
Property Value
Type Description
TweenGroup<System.Object>

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
Type Description
UnityTweenEngine

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
Type Name Description
TweenTiming timing

RegisterGroup(TweenGroup)

Declaration
public void RegisterGroup(TweenGroup tweenGroup)
Parameters
Type Name Description
TweenGroup tweenGroup

Stop(Object, String)

Declaration
public void Stop(object target, string property)
Parameters
Type Name Description
System.Object target
System.String property

Update()

Declaration
protected void Update()

Implements

ITweenEngine
Back to top © 2018 Adrian Stutz