track previous scene?

Hello. I am wondering if there is anyway to track the previously loaded scene and use it in an if statement? My game has three game modes and I want to know if I need three game over scenes? Thanks

I'm not completely sure what you mean, but it sounds like this basically falls into the category of 'how do I make data persist between scenes'. If that is the case, the usual answers apply (static variable, DontDestroyOnLoad(), PlayerPrefs if you want the data to persist between runs of the application, etc.).