Table of Contents

Class SceneUtils

Namespace
Coherence.Toolkit
Assembly
Coherence.Toolkit.dll
public static class SceneUtils
Inheritance
SceneUtils

Methods

FindInScene(Scene, bool)

public static GameObject[] FindInScene(Scene scene, bool includeInactive = false)

Parameters

scene Scene
includeInactive bool

Returns

GameObject[]

FindInScene(Scene, List<GameObject>, bool)

public static void FindInScene(Scene scene, List<GameObject> result, bool includeInactive = false)

Parameters

scene Scene
result List<GameObject>
includeInactive bool

FindInScene<T>(Scene, bool)

public static T[] FindInScene<T>(Scene scene, bool includeInactive = false) where T : Component

Parameters

scene Scene
includeInactive bool

Returns

T[]

Type Parameters

T

FindInScene<T>(Scene, List<T>, bool)

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