public override void OnReset()
{
floatVariable = 0;
minValue = 0;
maxValue = 0;
}
Its applicable to Int Clamp As well. ThanksWhoa, that's fun. The SharedVariables are being set to the same reference within OnReset so that's why you are getting the repeated values. If you change FloatClamp.OnReset to the following it'll fix it:
Code:public override void OnReset() { floatVariable = 0; minValue = 0; maxValue = 0; }