Beispiel #1
0
        protected virtual void OnEnable()
        {
            if (audioContext == null)
            {
                audioContext = GetComponentInParent <AudioConfigContext>();
            }

            audioContext.DataChanged += HandleDataChanged;
        }
Beispiel #2
0
 protected virtual void Reset()
 {
     audioContext = GetComponentInParent <AudioConfigContext>();
 }