unity how to get name of current scene in code code example Example: unity how to get the current scene SceneManager.GetActiveScene().buildIndex;