Skip to content

Commit 2b82e7a

Browse files
committed
Updates for PR
1 parent 8663edc commit 2b82e7a

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

Assets/MixedRealityToolkit/Definitions/BaseMixedRealityProfile.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

4+
using System;
45
using UnityEngine;
56

67
namespace Microsoft.MixedReality.Toolkit
78
{
9+
[Serializable]
810
public abstract class BaseMixedRealityProfile : ScriptableObject
911
{
1012
[SerializeField]

Assets/MixedRealityToolkit/Definitions/CameraSystem/BaseCameraSettingsProfile.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

4+
using System;
5+
46
namespace Microsoft.MixedReality.Toolkit.CameraSystem
57
{
68
/// <summary>
79
/// Base class used to derive custom camera settings profiles.
810
/// </summary>
11+
[Serializable]
912
public class BaseCameraSettingsProfile : BaseMixedRealityProfile
1013
{
1114
// This class is intentionally blank. It exists for future expansion of common functionality.

Assets/MixedRealityToolkit/Definitions/SpatialAwareness/BaseSpatialAwarenessObserverProfile.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

44
using Microsoft.MixedReality.Toolkit.Utilities;
5+
using System;
56
using UnityEngine;
67

78
namespace Microsoft.MixedReality.Toolkit.SpatialAwareness
89
{
10+
[Serializable]
911
public abstract class BaseSpatialAwarenessObserverProfile : BaseMixedRealityProfile
1012
{
1113
[SerializeField]

Assets/MixedRealityToolkit/Inspectors/Profiles/MixedRealityToolkitConfigurationProfileInspector.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,9 @@ protected void CheckSystemConfiguration(string service, SystemType systemType, b
450450
}
451451
}
452452

453+
/// <summary>
454+
/// Render helpbox that provided service string is disabled and none of it's functionality will be loaded at runtime
455+
/// </summary>
453456
protected static void RenderSystemDisabled(string service)
454457
{
455458
EditorGUILayout.Space();

0 commit comments

Comments
 (0)