C# Class TweenColor, TheUnseen

Inheritance: UITweener
ファイルを表示 Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
from Color
to Color

Private Properties

Property Type Description
SetCurrentValueToEnd void
SetCurrentValueToStart void
SetEndToCurrentValue void
SetStartToCurrentValue void

Public Methods

Method Description
Begin ( GameObject go, float duration, Color color ) : TweenColor,

Start the tweening operation.

Cache ( ) : void

Protected Methods

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

Tween the value.

Private Methods

Method Description
SetCurrentValueToEnd ( ) : void
SetCurrentValueToStart ( ) : void
SetEndToCurrentValue ( ) : void
SetStartToCurrentValue ( ) : void

Method Details

Begin() static public method

Start the tweening operation.
static public Begin ( GameObject go, float duration, Color color ) : TweenColor,
go GameObject
duration float
color Color
return TweenColor,

Cache() public method

public Cache ( ) : void
return void

OnUpdate() protected method

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

Property Details

from public_oe property

public Color from
return Color

to public_oe property

public Color to
return Color