예제 #1
0
 private void OnEnable()
 {
     soundsData = target as SoundsData;
     so         = new SerializedObject(soundsData);
     literals   = new List <string>();
     ReadEnum();
     NewList();
 }
예제 #2
0
    private SoundManager()
    {
        soundsList = new SoundsData();
        soundsList.LoadAudio();

        SceneManager.sceneLoaded += SetNewAudios;
        SceneManager.sceneLoaded += OnLoadedClips;
    }