DetectCrossSceneReferences(Scene)
Detects cross-Scene references in a Scene.
Read time 1 minuteLast updated 21 days ago
Definition
- Type: Method
- Namespace: UnityEditor.SceneManagement
- Assembly: UnityEditor.CoreModule
public static bool DetectCrossSceneReferences(Scene scene)
Parameters
Scene to check for cross-Scene references.
Returns
Type | Description |
|---|---|
| bool | Was any cross-Scene references found. |
Remarks
Warnings are logged to the console if any object in the input Scene has references to objects in other Scenes.