WeaverUtilities.

GetRandomElement<T>(IAssetList<T>) Method

Summary

Returns a random element from the `list`.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
WeaverUtilities

Syntax

public static T GetRandomElement<T>(this IAssetList<T> list) where T : Object

Type Parameters

Name Description
T

Parameters

Name Type Description
list IAssetList<T>

Return Value

Type Description
T