using Sirenix.OdinInspector; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Ether { [Serializable] public class SceneSoundData { [VerticalGroup("场景"), HideLabel] [ValueDropdown("@ConstName.SceneNameList")] public string sceneName; [VerticalGroup("音效")] [LabelText("音效列表")] [TableList(ShowIndexLabels = true)] public List soundDataList; } [Serializable] public class SoundData { [VerticalGroup("音效名"), HideLabel] [ValueDropdown("@ConstName.AudioNameList")] public string name; [VerticalGroup("音量"), HideLabel] [Range(0f, 1f)] public float volum = 1; } }