private Dictionary <string, AudioClip> m_pChacedAudioClip = null; // cached audio clip. [Key => asset path, Value => audio clip] //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: // UNITY FUNCTION //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: // @Breif : Awake void Awake() { I = this; m_pSeAudioSources = new List <KrAudioSource>(); m_pVoiceAudioSources = new List <KrAudioSource>(); m_pChacedAudioClip = new Dictionary <string, AudioClip>(); }
// @Breif : OnDestory void OnDestory() { I = null; }