Filter on Layer
Filter input GameObjects based on their Layer.Parameters
Parameter | Type | Description |
---|---|---|
layer | LayerMask | |
filterMode | FilterMode | Filter In: Keep filtered GameObjects Filter Out: Remove filtered GameObjects |
includeSubhierachy | Boolean | Automatically pass all descendents of any GameObject that matches the filter |