Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

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: