File tree Expand file tree Collapse file tree 1 file changed +29
-23
lines changed
Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/BoundingBox Expand file tree Collapse file tree 1 file changed +29
-23
lines changed Original file line number Diff line number Diff line change 1- using System . Collections ;
2- using System . Collections . Generic ;
1+
32using UnityEngine ;
43
5- internal interface IBoundsTargetProvider
4+ namespace Microsoft . MixedReality . Toolkit . UI
65{
7-
86 /// <summary>
9- /// Indicates if the provider is currently active
7+ /// Interface for defining a bounds target used by <see cref="AppBar"/>
8+ /// Implement this interface if you have a component that should be activated / deactivated by the AppBar
109 /// </summary>
11- bool Active
10+ internal interface IBoundsTargetProvider
1211 {
13- get ;
14- set ;
15- }
1612
17- /// <summary>
18- /// The object that this component is targeting
19- /// </summary>
20- GameObject Target
21- {
22- get ;
23- set ;
24- }
13+ /// <summary>
14+ /// Indicates if the provider is currently active
15+ /// </summary>
16+ bool Active
17+ {
18+ get ;
19+ set ;
20+ }
2521
26- /// <summary>
27- /// The collider reference tracking the bounds utilized by this component during runtime
28- /// </summary>
29- BoxCollider TargetBounds
30- {
31- get ;
22+ /// <summary>
23+ /// The object that this component is targeting
24+ /// </summary>
25+ GameObject Target
26+ {
27+ get ;
28+ set ;
29+ }
30+
31+ /// <summary>
32+ /// The collider reference tracking the bounds utilized by this component during runtime
33+ /// </summary>
34+ BoxCollider TargetBounds
35+ {
36+ get ;
37+ }
3238 }
3339}
You can’t perform that action at this time.
0 commit comments