Fix grid-based audio (#5087)

* Fix grid-based audio

- Fixes parenting issues.
- Add SetGridAudio as an easy way to set it up and apply the override too.

* No more global

* Rejig it all

* mergew

* review

* Minor optimisation

* Revert "Minor optimisation"

This reverts commit d0cdac7690.
This commit is contained in:
metalgearsloth
2024-05-29 16:14:37 +10:00
committed by GitHub
parent 710408c613
commit dd56de70b7
11 changed files with 135 additions and 95 deletions

View File

@@ -2,4 +2,7 @@
id: Audio
name: Audio
description: Audio entity used by engine
save: false
save: false
components:
- type: Transform
gridTraversal: false