AnimancerEditorUtilities.

IndexOfType<T>(IList<T>, Type) Method

Summary

Finds the index of the first item with the specified `type`.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
AnimancerEditorUtilities

Syntax

public static int IndexOfType<T>(IList<T> list, Type type)

Type Parameters

Name Description
T

Parameters

Name Type Description
list IList<T>
type Type

Return Value

Type Description
int