기술 자료

Unity Engine

Unity Engine

IndexedCollectionPropertyBag<TList, TElement>

An IPropertyBag<TContainer> implementation for a generic collection of elements which can be accessed by index. This is based on the IList_1 interface.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public class IndexedCollectionPropertyBag<TList, TElement> : PropertyBag<TList>, IListPropertyBag<TList, TElement>, ICollectionPropertyBag<TList, TElement>, IPropertyBag<TList>, IPropertyBag, ICollectionPropertyBagAccept<TList>, IListPropertyBagAccept<TList>, IListPropertyAccept<TList>, IIndexedProperties<TList> where TList : IList<TElement>

Methods

Method

Description

InstantiateWithCountImplement this method to provide custom type instantiation with a count value for the container type.
TryGetPropertyGets the property associated with the specified index.

Inheritance