📅  最后修改于: 2022-03-11 14:49:06.830000             🧑  作者: Mango
Use SceneManager.GetActiveScene(); to get a string with the scene name
Note: You have to write using UnityEngine.SceneManagement in the top