Download

[ Code/Level Architecture ] Using non-visible settings ( as volume ) in code/level

Hi!
How do you organize settings that don’t appear in the scene but need to be loaded/saved, like volume?
What I’ve done doesn’t seem the best way:

– SoundComponent:AActorComponent ( load/update SoundMix, SoundClass )
– SaveGameComponent:AActorComponent ( load/save player’s volume )

  • AudioActor:AActor ( use both components )

  • OptionWidget:UUserWidget ( reference AudioActor to load/update volume )

AudioActor seems to be useless at the level, serving only to be referenced by the Widget.

Do you have any suggestions?
Thank you!