Skip to content

Commit 0e833a7

Browse files
committed
Since this is a ScriptableObject, we can use the "normal" != null
.IsNull() is mostly for interfaces that might be Unity Objects
1 parent e7d3d67 commit 0e833a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MRTK/Core/Services/MixedRealityToolkit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ private void InitializeServiceLocator()
470470
}
471471

472472
// If the Boundary system has been selected for initialization in the Active profile, enable it in the project
473-
if (ActiveProfile.IsBoundarySystemEnabled && !ActiveProfile.ExperienceSettingsProfile.IsNull())
473+
if (ActiveProfile.IsBoundarySystemEnabled && ActiveProfile.ExperienceSettingsProfile != null)
474474
{
475475
DebugUtilities.LogVerbose("Begin registration of the boundary system");
476476
object[] args = { ActiveProfile.BoundaryVisualizationProfile, ActiveProfile.ExperienceSettingsProfile.TargetExperienceScale };

0 commit comments

Comments
 (0)