Skip to content
Snippets Groups Projects
Commit 496f5c37 authored by Victor's avatar Victor
Browse files

Add Spatial Audio to GameObject menu

parent 65a58159
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. ...@@ -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/), 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). 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 ## 1.0.6 - 2025-06-07
### Added ### Added
......
...@@ -9,6 +9,12 @@ public class GameObjectMenuEditor : MonoBehaviour ...@@ -9,6 +9,12 @@ public class GameObjectMenuEditor : MonoBehaviour
AddPrefab("XR"); AddPrefab("XR");
} }
[MenuItem("GameObject/HCP-XR/XR Starter/Spatial Audio")]
public static void AddSpatialAudioPrefab()
{
AddPrefab("SpatialAudio");
}
private static void AddPrefab(string prefabName) private static void AddPrefab(string prefabName)
{ {
// Path to the prefab in your package // Path to the prefab in your package
......
{ {
"name": "de.tu-dresden.hcp-xr.xr-starter", "name": "de.tu-dresden.hcp-xr.xr-starter",
"version": "1.0.6", "version": "1.0.7",
"displayName": "HCP-XR Starter", "displayName": "HCP-XR Starter",
"description": "This package helps you to get started quickly with your Unity XR projects.", "description": "This package helps you to get started quickly with your Unity XR projects.",
"unity": "6000.0", "unity": "6000.0",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment