Summary
Finds the index of the first item with the specified `type`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- Animancer
Editor Utilities
Syntax
public static int IndexOfType<T>(IList<T> list, Type type)
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| list | IList |
|
| type | Type |
Return Value
| Type | Description |
|---|---|
| int |