Summary

A float between two values, which can be randomized or fixed.

Constructors

RangedFloat Initialize the float as a fixed value.

Fields

xobsolete
yobsolete

Properties

FixedValue The fixed value. Setting this will convert us to a fixed value
Max The maximum value of the float range. For RangedFloat.RangeType.Fixed, this will be the same as RangedFloat.Min.
Min The minimum value of the float range.
Range Range type of this float.
RangeValue The range value. Setting this will convert us to a range value

Methods

Deconstruct
GetValue Returns the final value of this ranged float, randomizing between min and max values.

Static Methods

Parse Parse a ranged float from a string. Format is <c>"min[ max]"</c>.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.