Unity Engine documentationScript ReferenceUnityEngineUnityEngine.SceneManagementScenerootCountThe number of root transforms of this Scene.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine.SceneManagement Assembly: UnityEngine.CoreModule public int rootCount { get; }