find<T> method
Null safety
- dynamic locator,
- bool required
Gets all component references that match specified locator.
locator
the locator to find a reference by.- required forces to raise an exception if no reference is found. Returns a list with matching component references.
Throws a ReferenceException when required is set to true but no references found.