FindSceneObject< T >
(
includeInactive
)
|
Finds the first available scene scripts of a specific object type
Signature
static T Meta.WitAi.Utilities.GameObjectSearchUtility.FindSceneObject< T >(bool includeInactive=true) Parameters includeInactive: bool
Whether inactive GameObjects should be searched
Returns T
The first found script matching the specified type
|
FindSceneObjects< T >
(
includeInactive
, returnImmediately
)
|
Finds all scene scripts of a specific object type
Signature
static T [] Meta.WitAi.Utilities.GameObjectSearchUtility.FindSceneObjects< T >(bool includeInactive=true, bool returnImmediately=false) Parameters includeInactive: bool
Whether inactive GameObjects should be searched
returnImmediately: bool
Whether the method should return as soon as a matching script is found
Returns T []
All scripts matching the specified type
|