Version: 2022.3
言語: 日本語

FieldInfoCollection

struct in UnityEditor

マニュアルに切り替える

説明

Represents a read-only collection of FieldInfo and implements an IList interface.

Note: The collection is immutable for the duration of Unity domain lifecycle. All IList methods that might alter the collection always throw NotSupportedException.

変数

CountThe number of elements in FieldInfoCollection.
IsFixedSizeWhether the FieldInfoCollection is of a fixed size. This property is always set to true.
IsReadOnlyWhether the FieldInfoCollection is read-only. This property is always set to true.
IsSynchronizedWhether the FieldInfoCollection is synchronized. This property is always set to true.
this[int]Gets the element at the specified index.

Public 関数

ContainsDetermines whether an element is in the FieldInfoCollection.
CopyToCopies the collection to an array.
GetEnumeratorGets an enumerator that iterates through a FieldInfoCollection.
IndexOfGets the first occurrence of an item in the FieldInfoCollection.