title: How to define stopping points along a horizontal slider unity widget in c#?
body: <p>I am trying to create a horizontal slider widget for a mod for a popular video game and I've almost got everything I need but I don't know how to set stopping points along the slider. I need at least 3 stopping points that I can then reference as SliderValueAtZero,SliderValueAtTen, and SliderValueAtTwenty. The slider itself works fine I just need it to not be a continuous line with infinite decimals. Any help is appreciated.</p>
  
  <pre><code>public override string SettingsCategory() =&gt; "Pawn Wealth";
  
          public override void DoSettingsWindowContents(Rect inRect)
            {
              this.settings.PawnSkillValue1 = Widgets.HorizontalSlider(inRect.TopHalf().TopHalf(), this.settings.PawnSkillValue, 0f, 20f, true, "Pawn Skill Value: " + this.settings.PawnSkillValue + "\nDetermines the value of a pawns skills", "0", "20");
            }
  </code></pre>