Skip to content

Commit a52d396

Browse files
author
Olly
committed
Refactored Accessors to only use Value
1 parent 1038de9 commit a52d396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FloatModifier.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ public override void Reset(GameObject o)
2525

2626
protected override float GetValue()
2727
{
28-
return floatAccessor.GetValue();
28+
return floatAccessor.Value;
2929
}
3030

3131
protected override void SetValue(float value)
3232
{
33-
floatAccessor.SetValue(value);
33+
floatAccessor.Value = (value);
3434
}
3535

3636
protected abstract float GetRawModifiedValue();

0 commit comments

Comments
 (0)