📜  统一检查当前场景是否正在卸载 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:02.758000             🧑  作者: Mango

代码示例1
//If the scene is being unloaded, this will return false
SceneManager.GetActiveScene().isLoaded