From 496f5c3746146c58f81092352c89d1caf17e2b0b Mon Sep 17 00:00:00 2001
From: Victor Victor <victor.victor@tu-dresden.de>
Date: Sat, 7 Jun 2025 14:40:36 +0200
Subject: [PATCH] Add Spatial Audio to GameObject menu

---
 CHANGELOG.md                   | 6 ++++++
 Editor/GameObjectMenuEditor.cs | 6 ++++++
 package.json                   | 2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0372c03..71ca540 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),  
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
+## 1.0.7 - 2025-06-07
+
+### Added
+
+- Add Spatial Audio to GameObject menu.
+
 ## 1.0.6 - 2025-06-07
 
 ### Added
diff --git a/Editor/GameObjectMenuEditor.cs b/Editor/GameObjectMenuEditor.cs
index 1ee6ee6..a1696be 100644
--- a/Editor/GameObjectMenuEditor.cs
+++ b/Editor/GameObjectMenuEditor.cs
@@ -9,6 +9,12 @@ public class GameObjectMenuEditor : MonoBehaviour
         AddPrefab("XR");
     }
 
+    [MenuItem("GameObject/HCP-XR/XR Starter/Spatial Audio")]
+        public static void AddSpatialAudioPrefab()
+        {
+            AddPrefab("SpatialAudio");
+        }
+
     private static void AddPrefab(string prefabName)
     {
         // Path to the prefab in your package
diff --git a/package.json b/package.json
index 2640572..429f7a9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "de.tu-dresden.hcp-xr.xr-starter",
-  "version": "1.0.6",
+  "version": "1.0.7",
   "displayName": "HCP-XR Starter",
   "description": "This package helps you to get started quickly with your Unity XR projects.",
   "unity": "6000.0",
-- 
GitLab