how to end a for loop in python when your done using it code example Example: what function is called just before the a script is ended c# OnDisable(){}