Add API to change the sound of AmbientSoundComponent (#18115)

This commit is contained in:
Abbey Armbruster
2023-08-03 06:36:10 -04:00
committed by GitHub
parent 0a9164d857
commit f708a8dbf5
3 changed files with 27 additions and 11 deletions

View File

@@ -50,4 +50,5 @@ public sealed class AmbientSoundComponentState : ComponentState
public bool Enabled { get; init; }
public float Range { get; init; }
public float Volume { get; init; }
public SoundSpecifier Sound { get; init; } = default!;
}