Inheritance: AbstractMaterialVectorTweenProperty
コード例 #1
0
    public GoTweenConfig materialVector(Vector4 endValue, string propertyName, bool isRelative = false)
    {
        MaterialVectorTweenProperty item = new MaterialVectorTweenProperty(endValue, propertyName, isRelative);

        _tweenProperties.Add(item);
        return(this);
    }
コード例 #2
0
ファイル: GoTweenConfig.cs プロジェクト: yonglehou/GoKit
	/// <summary>
	/// material vector tween
	/// </summary>
	public GoTweenConfig materialVector( Vector4 endValue, string propertyName, bool isRelative = false)
	{
		var prop = new MaterialVectorTweenProperty(endValue, propertyName, isRelative);
		_tweenProperties.Add(prop);

		return this;
	}