Skip to content

Commit a9cad91

Browse files
committed
tweaking the two public flags to serialized private
1 parent ee3b987 commit a9cad91

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Assets/HoloToolkit/Input/Scripts/Focus/SimpleSinglePointerSelector.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ public class SimpleSinglePointerSelector : MonoBehaviour, ISourceStateHandler, I
2222
public Cursor Cursor;
2323

2424
[Tooltip("If true, search for a cursor if one isn't explicitly set.")]
25-
public bool SearchForCursorIfUnset = true;
25+
[SerializeField]
26+
private bool SearchForCursorIfUnset = true;
2627

2728
[Tooltip("If true, always select the best pointer available (OS behaviour does not autoselect).")]
28-
public bool AutoselectBestAvailable = false;
29+
[SerializeField]
30+
private bool AutoselectBestAvailable = false;
2931

3032
#endregion
3133

0 commit comments

Comments
 (0)