Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 10 days ago

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