Compare commits

...

2 Commits

Author SHA1 Message Date
Marc Gauch 2c83bfc410 Merge pull request 'Renamed Script' (#7) from room-improvements into main
Reviewed-on: #7
2024-01-11 17:34:08 +01:00
marcgauch 59296e9995 Renamed Script 2024-01-11 17:33:13 +01:00
2 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public class SampleVirtualFrames : MonoBehaviour public class OVRSceneManagerScript : MonoBehaviour
{ {
public OVRSceneManager _sceneManager; public OVRSceneManager _sceneManager;
@ -66,7 +66,7 @@ public class SampleVirtualFrames : MonoBehaviour
dimensions += prefab.GetComponent<ResizablePadding>().dimensionPadding; dimensions += prefab.GetComponent<ResizablePadding>().dimensionPadding;
} }
resizer.CreateResizedObject(dimensions, sceneAnchors[i].gameObject, prefab); resizer.CreateResizedObject(dimensions, sceneAnchors[i].gameObject, prefab);
MarcsWebLogger.Log($"{randomNumber} | {dimensions}");
// now place the cubes // now place the cubes
Instantiate(_cube, sceneAnchors[i].gameObject.transform.position + new Vector3(0, 0, 0.3f), Quaternion.Euler(0, 90, 0)); Instantiate(_cube, sceneAnchors[i].gameObject.transform.position + new Vector3(0, 0, 0.3f), Quaternion.Euler(0, 90, 0));

View File

@ -139,6 +139,8 @@ PlayerSettings:
bundleVersion: 0.1 bundleVersion: 0.1
preloadedAssets: preloadedAssets:
- {fileID: 11400000, guid: 29d72bf9f28086693968cedbdc8f08cd, type: 2} - {fileID: 11400000, guid: 29d72bf9f28086693968cedbdc8f08cd, type: 2}
- {fileID: 11400000, guid: 541751c4fa90967d68ef779a22ee43f3, type: 2}
- {fileID: -3127938587913570544, guid: 8eb28e39ec717d0799039f01965f0533, type: 2}
metroInputSource: 0 metroInputSource: 0
wsaTransparentSwapchain: 0 wsaTransparentSwapchain: 0
m_HolographicPauseOnTrackingLoss: 1 m_HolographicPauseOnTrackingLoss: 1