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