C# Class TweenAlpha, TheUnseen

Inheritance: MonoBehaviour
Show file Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
from float
to float

Private Properties

Property Type Description

Public Methods

Method Description
Begin ( GameObject go, float duration, float alpha ) : TweenAlpha

Start the tweening operation.

SetEndToCurrentValue ( ) : void
SetStartToCurrentValue ( ) : void

Protected Methods

Method Description
OnUpdate ( float factor, bool isFinished ) : void

Tween the value.

Method Details

Begin() static public method

Start the tweening operation.
static public Begin ( GameObject go, float duration, float alpha ) : TweenAlpha
go GameObject
duration float
alpha float
return TweenAlpha

OnUpdate() protected method

Tween the value.
protected OnUpdate ( float factor, bool isFinished ) : void
factor float
isFinished bool
return void

SetEndToCurrentValue() public method

public SetEndToCurrentValue ( ) : void
return void

SetStartToCurrentValue() public method

public SetStartToCurrentValue ( ) : void
return void

Property Details

from public property

public float from
return float

to public property

public float to
return float