Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

TypeCache.MethodCollection.IndexOf

Declaration

public int IndexOf(Profiling.FrameDataView.MethodInfo item);

Declaration

public int IndexOf(object item);

Parameters

item The object to locate in the collection.

Returns

int Returns the zero-based index of the first occurrence of the item. Returns -1 if the item is not found.

Description

Gets the first occurrence of an item in the MethodCollection.