From 1ec17844ee838c68010a2efd77c7921c108166bd Mon Sep 17 00:00:00 2001 From: Nkem Mogbo <47828317+Mogboella@users.noreply.github.com> Date: Mon, 13 Apr 2026 17:37:41 +0100 Subject: [PATCH 1/2] add hud spawner values --- .../Scripts/UI/LobbyList/HUDSpawnerScript.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/code/VR Art Gallery/Assets/VRMPAssets/Scripts/UI/LobbyList/HUDSpawnerScript.cs b/code/VR Art Gallery/Assets/VRMPAssets/Scripts/UI/LobbyList/HUDSpawnerScript.cs index 58b9a93..a49dee1 100644 --- a/code/VR Art Gallery/Assets/VRMPAssets/Scripts/UI/LobbyList/HUDSpawnerScript.cs +++ b/code/VR Art Gallery/Assets/VRMPAssets/Scripts/UI/LobbyList/HUDSpawnerScript.cs @@ -12,14 +12,14 @@ public class HUDSpawner : MonoBehaviour public GameObject hudObject; public string hudPanelName = "Gallery Selection UI"; public Transform headCamera; - public float spawnDistance = 1.5f; - public float spawnHeightOffset = 0.5f; + public float spawnDistance = 1.0f; + public float spawnHeightOffset = 1.0f; [Header("Spawn Comfort")] - public float minVisibleDistance = 0.45f; - public float maxVisibleDistance = 0.75f; - public float minVisibleHeightOffset = -0.15f; - public float maxVisibleHeightOffset = 0.07f; + public float minVisibleDistance = 1.0f; + public float maxVisibleDistance = 1.5f; + public float minVisibleHeightOffset = 1f; + public float maxVisibleHeightOffset = 1.5f; public bool keepPanelLevel = false; public Vector3 panelRotationOffsetEuler = new Vector3(0f, 180f, 0f); @@ -64,7 +64,7 @@ private InputAction GetOrCreateDesktopAction() return desktopSpawnButton.action; if (m_RuntimeDesktopAction == null) - m_RuntimeDesktopAction = new InputAction("ToggleHUD_Desktop", InputActionType.Button, "/h"); + m_RuntimeDesktopAction = new InputAction("ToggleHUD_Desktop", InputActionType.Button, "/slash"); return m_RuntimeDesktopAction; } From 0996fc78781db8ffd8c1cc59d4468f523107ecce Mon Sep 17 00:00:00 2001 From: Nkem Mogbo <47828317+Mogboella@users.noreply.github.com> Date: Mon, 13 Apr 2026 17:52:23 +0100 Subject: [PATCH 2/2] samplescene changes --- .../VR Art Gallery/Assets/Scenes/SampleScene.unity | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/code/VR Art Gallery/Assets/Scenes/SampleScene.unity b/code/VR Art Gallery/Assets/Scenes/SampleScene.unity index d5746e2..a8816fe 100644 --- a/code/VR Art Gallery/Assets/Scenes/SampleScene.unity +++ b/code/VR Art Gallery/Assets/Scenes/SampleScene.unity @@ -6975,6 +6975,10 @@ MonoBehaviour: serializedVersion: 2 m_Bits: 4294967295 testTexture: {fileID: 0} + hudPanelName: Gallery Selection UI + hudFallbackName: World Space Canvas + workspaceBehindHudDistance: 0.35 + workspaceBehindHudHeightOffset: -1.1 --- !u!4 &1212051091 Transform: m_ObjectHideFlags: 0 @@ -8515,8 +8519,14 @@ MonoBehaviour: hudObject: {fileID: 525470198} hudPanelName: Gallery Selection UI headCamera: {fileID: 4607428429233221385} - spawnDistance: 1.5 - spawnHeightOffset: 0.5 + spawnDistance: 1 + spawnHeightOffset: 1 + minVisibleDistance: 1 + maxVisibleDistance: 1.5 + minVisibleHeightOffset: 1 + maxVisibleHeightOffset: 1.5 + keepPanelLevel: 0 + panelRotationOffsetEuler: {x: 0, y: 180, z: 0} --- !u!4 &1864569578 Transform: m_ObjectHideFlags: 0