public SpriteAnimationCurve(SpriteAnimationCurve other) { this.name = other.name; this.type = other.type; this.curve = new AnimationCurve(other.curve.keys); this.interpolation = other.interpolation; this.length = other.length; this.defaultValue = other.defaultValue; }
float GetDefaultValue(SpriteAnimationCurveType type) { return(defaultValueArray[(int)type]); }
public SpriteAnimationCurve(SpriteAnimationCurve other) { this.name = name; this.type = type; this.curve = new AnimationCurve(other.curve.keys); }
float GetDefaultValue(SpriteAnimationCurveType type) { return defaultValueArray[(int)type]; }