There is already a AudioSource property in the EntityData of the behaviour.
But this will not show up in the Step Inspector, since the PlayAudioBehaviourDrawer is a very special implementation, not taking all properties into consideration. So, the default AudioSource (spatially located in the head of the player) will always be used.
Feature Request: Make the AudioSource configurable in the StepInspector. Probably, some kind of AudioSourceProperty is required therefore for fetching and persisting the reference?
Use case would be a virtual assistant, where it would be nice being able to locate the voice origin spatially.
There is already a AudioSource property in the EntityData of the behaviour.
But this will not show up in the Step Inspector, since the PlayAudioBehaviourDrawer is a very special implementation, not taking all properties into consideration. So, the default AudioSource (spatially located in the head of the player) will always be used.
Feature Request: Make the AudioSource configurable in the StepInspector. Probably, some kind of AudioSourceProperty is required therefore for fetching and persisting the reference?
Use case would be a virtual assistant, where it would be nice being able to locate the voice origin spatially.