Version: 2021.2

Scene.operator ==

切换到手册
public static bool operator == (SceneManagement.Scene lhs, SceneManagement.Scene rhs);

描述

如果场景相同,则返回 true。