Skip to content

Commit 40f7eba

Browse files
committed
Update MRTKBaseInteractable.cs
1 parent e62ad77 commit 40f7eba

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

org.mixedrealitytoolkit.core/Interactables/MRTKBaseInteractable.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public class MRTKBaseInteractable : XRBaseInteractable
9393
/// <summary>
9494
/// Is this object selected by a gaze-pinch interactor?
9595
/// </summary>
96-
public TimedFlag IsGazePinchSelected { get => isGazePinchSelected; }
96+
public TimedFlag IsGazePinchSelected => isGazePinchSelected;
9797

9898
[SerializeField]
9999
[Tooltip("Is this object selected by a non-gaze ray interactor?")]
@@ -102,7 +102,7 @@ public class MRTKBaseInteractable : XRBaseInteractable
102102
/// <summary>
103103
/// Is this object selected by a non-gaze ray interactor?
104104
/// </summary>
105-
public TimedFlag IsRaySelected { get => isRaySelected; }
105+
public TimedFlag IsRaySelected => isRaySelected;
106106

107107
[SerializeField]
108108
[Tooltip("Is this object selected by a poke interactor?")]
@@ -111,7 +111,7 @@ public class MRTKBaseInteractable : XRBaseInteractable
111111
/// <summary>
112112
/// Is this object selected by a poke interactor?
113113
/// </summary>
114-
public TimedFlag IsPokeSelected { get => isPokeSelected; }
114+
public TimedFlag IsPokeSelected => isPokeSelected;
115115

116116
[SerializeField]
117117
[Tooltip("Is this object selected by a grab interactor?")]
@@ -120,7 +120,7 @@ public class MRTKBaseInteractable : XRBaseInteractable
120120
/// <summary>
121121
/// Is this object selected by a grab interactor?
122122
/// </summary>
123-
public TimedFlag IsGrabSelected { get => isGrabSelected; }
123+
public TimedFlag IsGrabSelected => isGrabSelected;
124124

125125
[SerializeField]
126126
[Tooltip("Is this object hovered by any gaze interactor?")]
@@ -129,7 +129,7 @@ public class MRTKBaseInteractable : XRBaseInteractable
129129
/// <summary>
130130
/// Is this object hovered by any gaze interactor?
131131
/// </summary>
132-
public TimedFlag IsGazeHovered { get => isGazeHovered; }
132+
public TimedFlag IsGazeHovered => isGazeHovered;
133133

134134
[SerializeField]
135135
[Tooltip("Is this object hovered by a gaze-pinch interactor?")]
@@ -138,7 +138,7 @@ public class MRTKBaseInteractable : XRBaseInteractable
138138
/// <summary>
139139
/// Is this object hovered by a gaze-pinch interactor?
140140
/// </summary>
141-
public TimedFlag IsGazePinchHovered { get => isGazePinchHovered; }
141+
public TimedFlag IsGazePinchHovered => isGazePinchHovered;
142142

143143
[SerializeField]
144144
[Tooltip("Is this object hovered by a non-gaze ray interactor?")]
@@ -147,7 +147,7 @@ public class MRTKBaseInteractable : XRBaseInteractable
147147
/// <summary>
148148
/// Is this object hovered by a non-gaze ray interactor?
149149
/// </summary>
150-
public TimedFlag IsRayHovered { get => isRayHovered; }
150+
public TimedFlag IsRayHovered => isRayHovered;
151151

152152
[SerializeField]
153153
[Tooltip("Is this object hovered by a grab interactor?")]
@@ -156,7 +156,7 @@ public class MRTKBaseInteractable : XRBaseInteractable
156156
/// <summary>
157157
/// Is this object hovered by a grab interactor?
158158
/// </summary>
159-
public TimedFlag IsGrabHovered { get => isGrabHovered; }
159+
public TimedFlag IsGrabHovered => isGrabHovered;
160160

161161
[SerializeField]
162162
[Tooltip("Is this object hovered by a near touch/poke interactor?")]
@@ -166,12 +166,12 @@ public class MRTKBaseInteractable : XRBaseInteractable
166166
/// <summary>
167167
/// Is this object hovered by a near touch/poke interactor?
168168
/// </summary>
169-
public TimedFlag IsPokeHovered { get => isPokeHovered; }
169+
public TimedFlag IsPokeHovered => isPokeHovered;
170170

171171
/// <summary>
172172
/// Is this object hovered by any interactor other than passive targeting interactors?
173173
/// </summary>
174-
public TimedFlag IsActiveHovered { get => isActiveHovered; }
174+
public TimedFlag IsActiveHovered => isActiveHovered;
175175

176176
[SerializeField]
177177
[Tooltip("Is this object hovered by any interactor other than only passive targeting interactors?")]

0 commit comments

Comments
 (0)