C# Class LeopotamGroup.Tweening.TweeningPosition

Tweening position.
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 ) : TweeningPosition

Begin tweening at specified GameObject.

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

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 ) : TweeningPosition
go UnityEngine.GameObject Holder of tweener.
start UnityEngine.Vector3 Start position.
end UnityEngine.Vector3 End position.
time float Time for tweening.
return TweeningPosition

Begin() public method

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

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 position.
public Vector3,UnityEngine EndValue
return UnityEngine.Vector3

StartValue public_oe property

Start value of position.
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