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
|