private void OnEnable() { soundsData = target as SoundsData; so = new SerializedObject(soundsData); literals = new List <string>(); ReadEnum(); NewList(); }
private SoundManager() { soundsList = new SoundsData(); soundsList.LoadAudio(); SceneManager.sceneLoaded += SetNewAudios; SceneManager.sceneLoaded += OnLoadedClips; }