Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorSceneManager.DetectCrossSceneReferences

public static bool DetectCrossSceneReferences(SceneManagement.Scene scene);

Parameters

sceneScene to check for cross-scene references.

Returns

bool Was any cross-scene references found.

Description

Detects cross-scene references in a Scene.

Warnings are logged to the console if any object in the input Scene has references to objects in other Scenes.

Did you find this page useful? Please give it a rating: