Initial Commit

This commit is contained in:
2025-07-04 20:33:06 +03:00
commit 8f09347ae0
9219 changed files with 2447903 additions and 0 deletions
@@ -0,0 +1,24 @@
using System.Collections;
using UnityEngine;
public class MyCustomSceneModelLoader : OVRSceneModelLoader
{
IEnumerator DelayedLoad()
{
yield return new WaitForSeconds(1.0f);
Debug.Log("[MyCustomSceneLoader] calling OVRSceneManager.LoadSceneModel() delayed by 1 second");
SceneManager.LoadSceneModel();
}
protected override void OnStart()
{
// Don't load immediately, wait some time
StartCoroutine(DelayedLoad());
}
protected override void OnNoSceneModelToLoad()
{
// Don't trigger capture flow in case there is no scene, just log a message
Debug.Log("[MyCustomSceneLoader] There is no scene to load, but we don't want to trigger scene capture.");
}
}