GAudio.SubPulseModule.OnDisable C# (CSharp) Method

OnDisable() protected method

protected OnDisable ( ) : void
return void
        protected override void OnDisable()
        {
            base.OnDisable();

            if( _ParentPulse != null )
                _ParentPulse.UnsubscribeToPulse( this );

            #if UNITY_EDITOR
            if( Application.isPlaying == false )
                EditorApplication.update -= Update;
            #endif
        }