@@ -53,6 +53,9 @@ public float SliderValue
5353 [ Tooltip ( "The gameObject that contains the trackVisuals. This will get rotated to match the slider axis" ) ]
5454 [ SerializeField ]
5555 private GameObject trackVisuals = null ;
56+ /// <summary>
57+ /// Property accessor of trackVisuals
58+ /// </summary>
5659 public GameObject TrackVisuals
5760 {
5861 get
@@ -69,6 +72,9 @@ public GameObject TrackVisuals
6972 [ Tooltip ( "The gameObject that contains the tickMarks. This will get rotated to match the slider axis" ) ]
7073 [ SerializeField ]
7174 private GameObject tickMarks = null ;
75+ /// <summary>
76+ /// Property accessor of tickMarks
77+ /// </summary>
7278 public GameObject TickMarks
7379 {
7480 get
@@ -88,6 +94,9 @@ public GameObject TickMarks
8894 [ Tooltip ( "The axis the slider moves along" ) ]
8995 [ SerializeField ]
9096 private SliderAxis sliderAxis = SliderAxis . XAxis ;
97+ /// <summary>
98+ /// Property accessor of sliderAxis
99+ /// </summary>
91100 public SliderAxis CurrentSliderAxis
92101 {
93102 get { return sliderAxis ; }
@@ -98,8 +107,14 @@ public SliderAxis CurrentSliderAxis
98107 }
99108 }
100109
110+ /// <summary>
111+ /// Previous value of slider axis, is used in order to detect change in current slider axis value
112+ /// </summary>
101113 private SliderAxis ? previousSliderAxis = null ;
102- public SliderAxis PreviousSliderAxis
114+ /// <summary>
115+ /// Property accessor for previousSliderAxis that is used also to initiallize the property with the current value in case of null value.
116+ /// </summary>
117+ private SliderAxis PreviousSliderAxis
103118 {
104119 get
105120 {
0 commit comments