Filter on Component
Filter input GameObjects based on whether they have a specified component.Parameters
Parameter | Type | Description |
---|---|---|
componentType | UnityComponentType | Type of component that will be filtered on. |
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 |