StvDEV
Components
Drawing
Extensions
BasicTypesExtensions
CollectionsExtensions
ForEach
(this T[], Action
)
GetRandomIndex
(this IEnumerable
)
GetRandomIndex
(this List
)
GetRandomIndex
(this T[])
GetRandomValue
(this IEnumerable
)
GetRandomValue
(this List
)
GetRandomValue
(this T[])
IEnumerable
ForEach
(this IEnumerable
, Action
)
List
ForEach
(this List
, Action
)
ColorsExtensions
Inspector
Patterns
TextMeshPro
Types
Vibration
Constructor IEnumerable<T> ForEach<T>(this IEnumerable<T> collection, Action<T> action)
Performs the specified action for all collection items.
Visibility
Public
Modifiers
static
Returns
Original array after performing the action for all elements
Parameters
this IEnumerable<T>
collection
Collection
Action<T>
action
The Action delegate to perform on each element of the list