Synced
GameScene.FindObjectsWithLayers
Section titled “GameScene.FindObjectsWithLayers”
- Finds every game object assigned to any layer contained in a mask.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scene
Declaration
Section titled “Declaration”public System.Collections.Generic.IReadOnlyList<Inno.Scene.GameObject> Inno.Scene.GameScene.FindObjectsWithLayers(Inno.Scene.Layers.GameLayerMask layers)Parameters
Section titled “Parameters”Parameter layers: The set of accepted layer slots.
Returns
Section titled “Returns”A stable snapshot in scene storage order.