Gets references to all objects of type T found on the GameObject the wrapper is attached to.
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, if the wrapper is attached to one; otherwise, an empty array.