Skip to main content

Class SurveySliderOptionData

ScriptableObject that holds configuration options for a slider input in a survey. This asset defines the range, step, initial value, and optional tick marks for a slider input.

[CreateAssetMenu(fileName = "New Slider Input Configuration", menuName = "ScriptableObject/Assessments/Survey/Input Configurations/Slider", order = 4)]
public class SurveySliderOptionData : ScriptableObject

Inheritance​

Properties​

InitialValue​

Gets the initial value set for the slider.

public int InitialValue { get; }

Property Value​

int

Max​

Gets the maximum value of the slider.

public int Max { get; }

Property Value​

int

Min​

Gets the minimum value of the slider.

public int Min { get; }

Property Value​

int

Step​

Gets the step value for the slider.

public int Step { get; }

Property Value​

int

TickMarks​

Gets the array of tick marks for the slider.

public SliderIntWithTickMark.TickMarkStruct[] TickMarks { get; }

Property Value​

SliderIntWithTickMark.TickMarkStruct[]