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

        _tweenProperties.Add(item);
        return(this);
    }
Exemplo n.º 2
0
    /// <summary>
    /// offsetMax tween
    /// </summary>
    public GoTweenConfig offsetMax(Vector2 endValue, bool isRelative = false)
    {
        var prop = new OffsetTweenProperty(endValue, isRelative, true);

        _tweenProperties.Add(prop);

        return(this);
    }
Exemplo n.º 3
0
	/// <summary>
	/// offsetMin tween
	/// </summary>
	public GoTweenConfig offsetMin( Vector2 endValue, bool isRelative = false )
	{
		var prop = new OffsetTweenProperty( endValue, isRelative );
		_tweenProperties.Add( prop );
		
		return this;
	}