C# Class LeopotamGroup.Tweening.TweeningRotate

Tweening rotation.
Inheritance: TweeningBase
Afficher le fichier Open project: Leopotam/LeopotamGroupLibraryUnity

Méthodes publiques

Свойство Type Description
EndValue UnityEngine.Vector3
StartValue UnityEngine.Vector3
Target UnityEngine.Transform

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
OnInit ( ) : void
OnUpdateValue ( ) : void

Method Details

Begin() public static méthode

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.
Résultat TweeningRotate

Begin() public méthode

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.
Résultat TweeningRotate

OnInit() protected méthode

protected OnInit ( ) : void
Résultat void

OnUpdateValue() protected méthode

protected OnUpdateValue ( ) : void
Résultat void

Property Details

EndValue public_oe property

End value of rotation in degrees.
public Vector3,UnityEngine EndValue
Résultat UnityEngine.Vector3

StartValue public_oe property

Start value of rotation in degrees.
public Vector3,UnityEngine StartValue
Résultat UnityEngine.Vector3

Target public_oe property

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