Method TryGetAllSubclassOf
TryGetAllSubclassOf<T>(Type, List<T>)
Gets all the VolumeComponent that are subclasses of the specified type, if there are any.
Declaration
public bool TryGetAllSubclassOf<T>(Type type, List<T> result) where T : VolumeComponent
Parameters
| Type | Name | Description | 
|---|---|---|
| Type | type | A type that inherits from VolumeComponent.  | 
    
| List<T> | result | The output list that contains all the VolumeComponent if any. Note that Unity does not clear this list.  | 
    
Returns
| Type | Description | 
|---|---|
| bool | 
  | 
    
Type Parameters
| Name | Description | 
|---|---|
| T | A type of VolumeComponent.  |