C# Class TweenRotation, TheUnseen

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

Public Properties

Property Type Description
from Vector3
to Vector3

Private Properties

Property Type Description
SetCurrentValueToEnd void
SetCurrentValueToStart void
SetEndToCurrentValue void
SetStartToCurrentValue void

Public Methods

Method Description
Begin ( GameObject go, float duration, Quaternion rot ) : TweenRotation,

Start the tweening operation.

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, Quaternion rot ) : TweenRotation,
go GameObject
duration float
rot Quaternion
return TweenRotation,

OnUpdate() protected method

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

Property Details

from public property

public Vector3 from
return Vector3

to public property

public Vector3 to
return Vector3