Table of Contents

FindInScene

Methods
public static T[] FindInScene<T>(Scene scene, bool includeInactive = false) where T : Component
Parameters
Type Name Description
Scene scene
bool includeInactive
Returns
Type Description
T[]
Type Parameters
Name Description
T
public static GameObject[] FindInScene(Scene scene, bool includeInactive = false)
Parameters
Type Name Description
Scene scene
bool includeInactive
Returns
Type Description
GameObject[]
public static void FindInScene<T>(Scene scene, List<T> result, bool includeInactive = false) where T : Component
Parameters
Type Name Description
Scene scene
List<T> result
bool includeInactive
Type Parameters
Name Description
T
public static void FindInScene(Scene scene, List<GameObject> result, bool includeInactive = false)
Parameters
Type Name Description
Scene scene
List<GameObject> result
bool includeInactive