what function is called just before the a script is ended csharp

Code Example - what function is called just before the a script is ended csharp

                
                        OnDisable(){}