unity how to know which scene is active code example Example: unity how to get the current scene SceneManager.GetActiveScene().buildIndex;