We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ff88b0 commit 747bb1fCopy full SHA for 747bb1f
Assets/MRTK/Providers/Experimental/WindowsSceneUnderstanding/WindowsSceneUnderstandingObserver.cs
@@ -1321,13 +1321,13 @@ private Texture2D OcclusionTexture(byte[] textureBytes)
1321
/// </summary>
1322
private void CleanupInstantiatedSceneObjects()
1323
{
1324
- if (observedObjectParent != null)
+ if (ObservedObjectParent != null)
1325
1326
- int kidCount = observedObjectParent.transform.childCount;
+ int kidCount = ObservedObjectParent.transform.childCount;
1327
1328
for (int i = 0; i < kidCount; ++i)
1329
1330
- UnityEngine.Object.Destroy(observedObjectParent.transform.GetChild(i).gameObject);
+ UnityEngine.Object.Destroy(ObservedObjectParent.transform.GetChild(i).gameObject);
1331
}
1332
1333
0 commit comments