Inheritance: AbstractTweenProperty
コード例 #1
0
    public GoTweenConfig offsetMin(Vector2 endValue, bool isRelative = false)
    {
        OffsetTweenProperty item = new OffsetTweenProperty(endValue, isRelative);

        _tweenProperties.Add(item);
        return(this);
    }
コード例 #2
0
ファイル: GoTweenConfig.cs プロジェクト: atpx0001/XGames
    /// <summary>
    /// offsetMax tween
    /// </summary>
    public GoTweenConfig offsetMax(Vector2 endValue, bool isRelative = false)
    {
        var prop = new OffsetTweenProperty(endValue, isRelative, true);

        _tweenProperties.Add(prop);

        return(this);
    }
コード例 #3
0
ファイル: GoTweenConfig.cs プロジェクト: yonglehou/GoKit
	/// <summary>
	/// offsetMin tween
	/// </summary>
	public GoTweenConfig offsetMin( Vector2 endValue, bool isRelative = false )
	{
		var prop = new OffsetTweenProperty( endValue, isRelative );
		_tweenProperties.Add( prop );
		
		return this;
	}