Inheritance: AbstractTweenProperty
    public GoTweenConfig pivot(Vector2 endValue, bool isRelative = false)
    {
        PivotTweenProperty item = new PivotTweenProperty(endValue, isRelative);

        _tweenProperties.Add(item);
        return(this);
    }
Example #2
0
	/// <summary>
	/// pivot tween
	/// </summary>
	public GoTweenConfig pivot( Vector2 endValue, bool isRelative = false )
	{
		var prop = new PivotTweenProperty( endValue, isRelative );
		_tweenProperties.Add( prop );
		
		return this;
	}