how to see your current scene using a script unity code example Example: unity how to get the current scene SceneManager.GetActiveScene().buildIndex;