how to make a slider show decimal unity code example
Example 1: unity slider decimal 0.01
f = Mathf.Round(f * 100.0f) * 0.01f;
Example 2: unity slider decimal 0.01
f = Mathf.Round(f * 10.0f) * 0.1f;
f = Mathf.Round(f * 100.0f) * 0.01f;
f = Mathf.Round(f * 10.0f) * 0.1f;