TweenOrthoSize.OnUpdate C# (CSharp) Method

OnUpdate() protected method

Perform the tween.
protected OnUpdate ( float factor, bool isFinished ) : void
factor float
isFinished bool
return void
	override protected void OnUpdate (float factor, bool isFinished)
	{
		cachedCamera.orthographicSize = from * (1f - factor) + to * factor;
	}
TweenOrthoSize