File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Assets/MRTK/Core/Providers Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,12 @@ protected BaseSpatialObserver(
41
41
protected IMixedRealitySpatialAwarenessSystem SpatialAwarenessSystem => Service ;
42
42
43
43
private GameObject observedObjectParent = null ;
44
+ protected virtual GameObject ObservedObjectParent => observedObjectParent != null ? observedObjectParent : ( observedObjectParent = Service ? . CreateSpatialAwarenessObservationParent ( Name ) ) ;
44
45
45
46
/// <summary>
46
47
/// The parent GameObject for all observed meshes to be placed under.
47
48
/// </summary>
48
- public virtual GameObject ObservedObjectParent => observedObjectParent != null ? observedObjectParent : ( observedObjectParent = Service ? . CreateSpatialAwarenessObservationParent ( Name ) ) ;
49
+ public GameObject ObservationParent => ObservedObjectParent ;
49
50
50
51
/// <summary>
51
52
/// Creates the spatial observer and handles the desired startup behavior.
You can’t perform that action at this time.
0 commit comments