How to change scene?

Hi I wanted to know if someone could help me with this problem I’m making a 2D game but not how to make my character change of scene looked everywhere but I only saw ejempos of how to make change of scene colliding with something and it only works in 3D and do not pretend to work in 2D if anyone knows how to make 2D scene change please tell me thank you very much

It doesn’t matter if it’s 3D or 2D, the function that is called for changing a scene is always the same one. Furthermore, the code for a 3D collision can be easily converted to work with 2D (OnTriggerEnter becomes OnTriggerEnter2D, for example).