File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,26 @@ namespace ubco.ovilab.HPUI.Interaction
14
14
public class HPUIInteractor : XRBaseInteractor , IHPUIInteractor
15
15
{
16
16
// TODO move these to an asset?
17
+ [ Tooltip ( "The time threshold at which an interaction would be treated as a gesture." ) ]
17
18
[ SerializeField ]
18
19
private float tapTimeThreshold ;
20
+ /// <summary>
21
+ /// The time threshold at which an interaction would be treated as a gesture.
22
+ /// That is, if the interactor is in contact with an
23
+ /// interactable for more than this threshold, it would be
24
+ /// treated as as gesture.
25
+ /// </summary>
19
26
public float TapTimeThreshold { get => tapTimeThreshold ; set => tapTimeThreshold = value ; }
20
27
28
+ [ Tooltip ( "The distance threshold at which an interaction would be treated as a gesture." ) ]
21
29
[ SerializeField ]
22
30
private float tapDistanceThreshold ;
31
+ /// <summary>
32
+ /// The distance threshold at which an interaction would be treated as a gesture.
33
+ /// That is, if the interactor has moved more than this value
34
+ /// after coming into contact with a interactable, it would be
35
+ /// treated as as gesture.
36
+ /// </summary>
23
37
public float TapDistanceThreshold { get => tapDistanceThreshold ; set => tapDistanceThreshold = value ; }
24
38
25
39
[ SerializeField ]
You can’t perform that action at this time.
0 commit comments