Пример #1
0
 public override void ChangeValue(float amount)
 {
     if (useConstant)
     {
         constantValue += amount;
     }
     else
     {
         variable.ChangeValue(amount);
     }
 }