27 lines
1008 B
C#
27 lines
1008 B
C#
using System.Collections.Generic;
|
|
using AYellowpaper.SerializedCollections;
|
|
using UnityEngine;
|
|
using AudioType = Code.Audio.AudioType;
|
|
|
|
namespace Code.Configs
|
|
{
|
|
[CreateAssetMenu(fileName = "DefaultAudioSettingsConfig", menuName = "Audio/DefaultAudioSettings")]
|
|
public class DefaultAudioSettingsConfig : ScriptableObject
|
|
{
|
|
[Header("Menu")]
|
|
[SerializedDictionary("AudioType", "Volume")]
|
|
public SerializedDictionary<Audio.AudioType, float> menuVolume = new();
|
|
|
|
[Header("Action")]
|
|
[SerializedDictionary("AudioType", "Volume")]
|
|
public SerializedDictionary<Audio.AudioType, float> actionVolume = new();
|
|
|
|
[Header("Peaceful")]
|
|
[SerializedDictionary("AudioType", "Volume")]
|
|
public SerializedDictionary<Audio.AudioType, float> peacefulVolume = new();
|
|
|
|
[Header("None")]
|
|
[SerializedDictionary("AudioType", "Volume")]
|
|
public SerializedDictionary<Audio.AudioType, float> noneVolume = new();
|
|
}
|
|
} |