Renamed Script
This commit is contained in:
		
							parent
							
								
									ea6a2c6b1c
								
							
						
					
					
						commit
						59296e9995
					
				@ -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));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -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
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user