C# Class LeopotamGroup.Tweening.TweeningRotate

Tweening rotation.
Inheritance: TweeningBase
ファイルを表示 Open project: Leopotam/LeopotamGroupLibraryUnity

Public Properties

Property Type Description
EndValue UnityEngine.Vector3
StartValue UnityEngine.Vector3
Target UnityEngine.Transform

Public Methods

Method Description
Begin ( GameObject go, Vector3 start, Vector3 end, float time ) : TweeningRotate

Begin tweening at specified GameObject.

Begin ( Vector3 start, Vector3 end, float time ) : TweeningRotate

Begin tweening.

Protected Methods

Method Description
OnInit ( ) : void
OnUpdateValue ( ) : void

Method Details

Begin() public static method

Begin tweening at specified GameObject.
public static Begin ( GameObject go, Vector3 start, Vector3 end, float time ) : TweeningRotate
go UnityEngine.GameObject Holder of tweener.
start UnityEngine.Vector3 Start rotation.
end UnityEngine.Vector3 End rotation.
time float Time for tweening.
return TweeningRotate

Begin() public method

Begin tweening.
public Begin ( Vector3 start, Vector3 end, float time ) : TweeningRotate
start UnityEngine.Vector3 Start rotation.
end UnityEngine.Vector3 End rotation.
time float Time for tweening.
return TweeningRotate

OnInit() protected method

protected OnInit ( ) : void
return void

OnUpdateValue() protected method

protected OnUpdateValue ( ) : void
return void

Property Details

EndValue public_oe property

End value of rotation in degrees.
public Vector3,UnityEngine EndValue
return UnityEngine.Vector3

StartValue public_oe property

Start value of rotation in degrees.
public Vector3,UnityEngine StartValue
return UnityEngine.Vector3

Target public_oe property

Target transform. If null on start - current transform will be used.
public Transform,UnityEngine Target
return UnityEngine.Transform