protected override void AssignNextValue(EffectableObject obj, float nextVal)
        {
            var prevVec = obj.Get <Vector2>(EffectedPropertyName);

            prevVec.X = nextVal;
            obj.Set(EffectedPropertyName, prevVec);
        }
Exemple #2
0
 protected override void AssignNextValue(EffectableObject obj, T val)
 {
     obj.Set(EffectedPropertyName, val);
 }