GAudio.GATTrack.OnDestroy C# (CSharp) Méthode

OnDestroy() private méthode

Call before disposing of a track permanently.
private OnDestroy ( ) : void
Résultat void
        void OnDestroy()
        {
            if( _panInfo != null )
                _panInfo.CleanUp();

            if( _filtersHandler != null )
            {
                if( Application.isPlaying )
                {
                    Destroy( _filtersHandler );
                }
                else
                {
                    DestroyImmediate( _filtersHandler );
                }
            }
        }