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;
        }
Esempio n. 2
0
 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];
 }
 public SpriteAnimationCurve(SpriteAnimationCurve other)
 {
     this.name = name;
     this.type = type;
     this.curve = new AnimationCurve(other.curve.keys);
 }
        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;
        }