AnimancerUtilities.

TryGetObject<T>(IList<T>, int, T) Method

Summary

If the `index` is within the `list` and that `item` is not null, this method outputs it and returns true.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerUtilities

Syntax

public static bool TryGetObject<T>(this IList<T> list, int index, out T item) where T : Object

Type Parameters

Name Description
T

Parameters

Name Type Description
list IList<T>
index int
item T

Return Value

Type Description
bool