ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


IndexOf(void*)

Returns the index of the first occurrence of a specific pointer in the list.
読み終わるまでの所要時間 1 分最終更新 22日前

Definition

public int IndexOf(void* ptr)

Parameters

The pointer to search for in the list.

Returns

Type

Description

intThe index of the first occurrence of the pointer. Returns -1 if it is not found in the list.