protected virtual void OnEnable() { if (audioContext == null) { audioContext = GetComponentInParent <AudioConfigContext>(); } audioContext.DataChanged += HandleDataChanged; }
protected virtual void Reset() { audioContext = GetComponentInParent <AudioConfigContext>(); }