Comments and answers for "How do I round a number to the nearest .25 or .75 number?"
http://answers.unity.com/questions/1623834/how-do-i-round-a-number-to-the-nearest-25-or-75-nu.html
The latest comments and answers for the question "How do I round a number to the nearest .25 or .75 number?"Answer by EstragonHelmer
http://answers.unity.com/answers/1623846/view.html
Got it working!
For anyone else who needs this, here's the formula - it should also work with different offsets and scales.
output = ((Mathf.Round ((input - offset) * fraction)) / fraction) + offset;
input - float - mine was mouse positions
fraction - to change scale of rounding - mine was 2, to round to the nearest .5
offset - how much to slide your scale by - mine was 0.25, so I ended up with the nearest .25 or .75 number
output - the rounded number, to the correct offsetFri, 19 Apr 2019 13:28:51 GMTEstragonHelmer