Class SceneUtils
- Namespace
- Coherence.Toolkit
- Assembly
- Coherence.Toolkit.dll
public static class SceneUtils
- Inheritance
-
SceneUtils
Methods
public static GameObject[] FindInScene(Scene scene, bool includeInactive = false)
Parameters
scene
Scene
includeInactive
bool
Returns
- GameObject[]
public static void FindInScene(Scene scene, List<GameObject> result, bool includeInactive = false)
Parameters
scene
Scene
result
List<GameObject>
includeInactive
bool
public static T[] FindInScene<T>(Scene scene, bool includeInactive = false) where T : Component
Parameters
scene
Scene
includeInactive
bool
Returns
- T[]
Type Parameters
T
public static void FindInScene<T>(Scene scene, List<T> result, bool includeInactive = false) where T : Component
Parameters
scene
Scene
result
List<T>
includeInactive
bool
Type Parameters
T