コード例 #1
0
 private static void SceneManagerSceneUnloaded(Scene scene)
 {
     if (mixedRealityPlayspace == null)
     {   // If we unloaded our playspace, see if another one exists
         SearchForAndEnableExistingPlayspace(RuntimeSceneUtils.GetRootGameObjectsInLoadedScenes());
     }
 }
コード例 #2
0
 private static void SceneManagerSceneLoaded(Scene scene, LoadSceneMode loadSceneMode)
 {
     if (mixedRealityPlayspace == null)
     {
         SearchForAndEnableExistingPlayspace(RuntimeSceneUtils.GetRootGameObjectsInLoadedScenes());
     }
     else
     {
         SearchForAndDisableExtraPlayspaces(scene.GetRootGameObjects());
     }
 }