C# Class LeopotamGroup.Tweening.TweeningScale

Tweening scale.
Inheritance: TweeningBase
Show file 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 ) : TweeningScale

Begin the specified go, start, end and time.

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

Begin tweening.

Protected Methods

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

Method Details

Begin() public static method

Begin the specified go, start, end and time.
public static Begin ( GameObject go, Vector3 start, Vector3 end, float time ) : TweeningScale
go UnityEngine.GameObject Holder of tweener.
start UnityEngine.Vector3 Start scale.
end UnityEngine.Vector3 End scale.
time float Time of tweening.
return TweeningScale

Begin() public method

Begin tweening.
public Begin ( Vector3 start, Vector3 end, float time ) : TweeningScale
start UnityEngine.Vector3 Start scale.
end UnityEngine.Vector3 End scale.
time float Time of tweening.
return TweeningScale

OnInit() protected method

protected OnInit ( ) : void
return void

OnUpdateValue() protected method

protected OnUpdateValue ( ) : void
return void

Property Details

EndValue public property

End value of scale.
public Vector3,UnityEngine EndValue
return UnityEngine.Vector3

StartValue public property

Start value of scale.
public Vector3,UnityEngine StartValue
return UnityEngine.Vector3

Target public property

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