LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

SyncList<T0>.IndexOf

public int IndexOf(T item);

Parameters

itemThe item to return the index for.

Description

Determines the index of a specific item in the SyncList<T>.