Table of Contents

Class BaseTween

Namespace
CodeBase.TweenSystem
Assembly
4Experience.CodeBase.Tweens.Runtime.dll
public class BaseTween : ExtendedMonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
BaseTween
Derived
Extension Methods

Properties

AnimateOnEnable

protected bool AnimateOnEnable { get; set; }

Property Value

bool

AnimationEase

protected Ease AnimationEase { get; set; }

Property Value

Ease

AnimationTime

protected float AnimationTime { get; private set; }

Property Value

float

Bounce

protected bool Bounce { get; set; }

Property Value

bool

BounceDelay

protected float BounceDelay { get; set; }

Property Value

float

Delay

protected float Delay { get; set; }

Property Value

float

IsReverseAnimated

protected bool IsReverseAnimated { get; private set; }

Property Value

bool

KillOnDisable

protected bool KillOnDisable { get; set; }

Property Value

bool

Loop

protected bool Loop { get; set; }

Property Value

bool

MainTween

protected Tween MainTween { get; set; }

Property Value

Tween

OnComplete

public UnityEvent OnComplete { get; private set; }

Property Value

UnityEvent

OverrideBeginValue

protected bool OverrideBeginValue { get; private set; }

Property Value

bool

ResetOnDisable

protected bool ResetOnDisable { get; set; }

Property Value

bool

ShowOnCompleteEvent

protected bool ShowOnCompleteEvent { get; set; }

Property Value

bool

Methods

Animate()

[Button("[PLAY MODE] Animate")]
[ButtonGroup("_DefaultGroup", 0)]
public void Animate()

AnimateObject()

private void AnimateObject()

Awake()

protected virtual void Awake()

BuildBounceTweens()

protected virtual void BuildBounceTweens()

BuildTweens()

protected virtual void BuildTweens()

CallCompleteEvent()

private void CallCompleteEvent()

CompleteAnimateObject()

private void CompleteAnimateObject()

GetTweenDuration()

public float GetTweenDuration()

Returns

float

KillTweens()

protected virtual void KillTweens()

LoopLogic()

private void LoopLogic()

OnDisable()

protected virtual void OnDisable()

OnEnable()

protected virtual void OnEnable()

PlayTween()

private void PlayTween()

ResetLogic()

protected virtual void ResetLogic()

ReverseAnimate()

[Button("[PLAY MODE] ReverseAnimate")]
[ButtonGroup("_DefaultGroup", 0)]
public void ReverseAnimate()

SetDefaultData()

protected virtual void SetDefaultData()

SetTweenParameters(bool)

protected virtual void SetTweenParameters(bool isReverseAnimated)

Parameters

isReverseAnimated bool

StopAnimate()

public void StopAnimate()