AudioClip GetAudioClip(string _tag) { if (!soundDic.ContainsKey(_tag)) { //Resources 경로 설정 SoundTable.SoundInfo soundInfo = soundTable.GetSoundInfo(_tag); if (soundInfo == null) { Debug.LogError("Not found SoundInfo : " + _tag); return(null); } //AssetBundle 에서 오디오클립 로드 AudioClip newClip = ResourceManager.LoadAsset(soundInfo.path, soundInfo.tag, resLinkType) as AudioClip; if (newClip == null) { Debug.LogError("Not found Audioclip : " + _tag); return(null); } //Table 에 추가 soundDic.Add(_tag, newClip); } return(soundDic[_tag]); }