Skip to content

Commit 518432f

Browse files
author
David Kline (ANALOG)
committed
missed adding the files with the virtual methods
1 parent 9ebd9fd commit 518432f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Assets/MixedRealityToolkit-SDK/Features/SpatialAwareness/System/Handlers/MixedRealitySpatialAwarenessMeshHandler.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ namespace Microsoft.MixedReality.Toolkit.SDK.SpatialAwarenessSystem.Handlers
1515
public class MixedRealitySpatialAwarenessMeshHandler : MonoBehaviour, IMixedRealitySpatialAwarenessMeshHandler
1616
{
1717
/// <inheritdoc />
18-
public void OnMeshAdded(MixedRealitySpatialAwarenessEventData eventData)
18+
public virtual void OnMeshAdded(MixedRealitySpatialAwarenessEventData eventData)
1919
{
2020
// Custom implementations can use this event to access the mesh data on arrival.
2121
}
2222

2323
/// <inheritdoc />
24-
public void OnMeshUpdated(MixedRealitySpatialAwarenessEventData eventData)
24+
public virtual void OnMeshUpdated(MixedRealitySpatialAwarenessEventData eventData)
2525
{
2626
// Custom implementations can use this event to access the mesh data on update.
2727
}
2828

2929
/// <inheritdoc />
30-
public void OnMeshRemoved(MixedRealitySpatialAwarenessEventData eventData)
30+
public virtual void OnMeshRemoved(MixedRealitySpatialAwarenessEventData eventData)
3131
{
3232
// Custom implementations can use this event to respond to mesh removal.
3333
}

Assets/MixedRealityToolkit-SDK/Features/SpatialAwareness/System/Handlers/MixedRealitySpatialAwarenessSurfaceFindingHandler.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ namespace Microsoft.MixedReality.Toolkit.SDK.SpatialAwarenessSystem.Handlers
1313
public class MixedRealitySpatialAwarenessSurfaceFindingHandler : MonoBehaviour, IMixedRealitySpatialAwarenessSurfaceFindingHandler
1414
{
1515
/// <inheritdoc />
16-
public void OnSurfaceAdded(MixedRealitySpatialAwarenessEventData eventData)
16+
public virtual void OnSurfaceAdded(MixedRealitySpatialAwarenessEventData eventData)
1717
{
18-
// todo
18+
// Custom implementations can use this event to access the plane data on arrival.
1919
}
2020

2121
/// <inheritdoc />
22-
public void OnSurfaceUpdated(MixedRealitySpatialAwarenessEventData eventData)
22+
public virtual void OnSurfaceUpdated(MixedRealitySpatialAwarenessEventData eventData)
2323
{
24-
// todo
24+
// Custom implementations can use this event to access the plane data on update.
2525
}
2626

2727
/// <inheritdoc />
28-
public void OnSurfaceRemoved(MixedRealitySpatialAwarenessEventData eventData)
28+
public virtual void OnSurfaceRemoved(MixedRealitySpatialAwarenessEventData eventData)
2929
{
30-
// todo
30+
// Custom implementations can use this event to respond to plane removal.
3131
}
3232
}
3333
}

0 commit comments

Comments
 (0)