Method FirstOfType
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
FirstOfType<T>(List<ItemBehaviour>)
public static T FirstOfType<T>(this List<ItemBehaviour> list) where T : Component
Parameters
list
List<ItemBehaviour>
Returns
- T
Type Parameters
T