ドキュメント

Unity Engine

Unity Engine

LastIndexOf<T>(T[], T)

Index of the last element with value value.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

LastIndexOf<T>(`<>[], T)

public static int LastIndexOf<T>(T[] array, T value)

Parameters

array


value

T

Returns

Type

Description

intThe zero-based index of the element, if found; otherwise -1.