|
static |
Returns all active loaded objects with the specified layer .
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.
layer | The layer of the object to find. |