Update OVRSceneManagerScript.cs
parent
8ff3b59c92
commit
44668f235c
|
@ -33,9 +33,9 @@ public class SampleVirtualFrames : MonoBehaviour
|
|||
|
||||
public SimpleResizable _tablePrefab;
|
||||
|
||||
private bool stuffPlaced = false;
|
||||
public GameObject _cube;
|
||||
|
||||
|
||||
void Awake()
|
||||
{
|
||||
MarcsWebLogger.Log("SampleVirtualFrames::Awake()");
|
||||
|
@ -73,11 +73,8 @@ public class SampleVirtualFrames : MonoBehaviour
|
|||
resizer.CreateResizedObject(dimensions, sceneAnchors[i].gameObject, prefab);
|
||||
|
||||
// now place the cubes
|
||||
if (stuffPlaced == false)
|
||||
{
|
||||
Instantiate(_cube, sceneAnchors[i].gameObject.transform.position + new Vector3(0, 0, 0.3f), Quaternion.Euler(0, 90, 0));
|
||||
stuffPlaced = true;
|
||||
}
|
||||
Instantiate(_cube, sceneAnchors[i].gameObject.transform.position + new Vector3(0, 0, 0.3f), Quaternion.Euler(0, 90, 0));
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue