[]
Returns the index of the specified object in the current FastList. (Performs a fast search using the FindObjectIndex(object, out int) method.)
public int IndexOf(object obj)
Type | Name | Description |
---|---|---|
object | obj | The object to search for. |
Type | Description |
---|---|
int | The index of the specified object within the current list, or -1 if none was found. |