|
static |
Returns all active loaded objects with the layer having the specified layerName .
It will return no assets (meshes, textures, prefabs, ...) or inactive objects. Please note that this function is very slow. It is not recommended to use this function every frame. In most cases you can use the singleton pattern instead.
layerName | The layer (name) of the object to find. |