Gets references to all objects of type T found on the GameObject the wrapper is attached to, or any of its parents.
Template Parameters
T
The type of objects to retrieve.
Returns
An array containing all matching objects of type found on the GameObject the wrapper is attached to and its parents, if the wrapper is attached to one; otherwise, an empty array.