文档

Unity Engine

Unity Engine

PropertyCollection

Initializes a new instance of the PropertyCollection<TContainer> struct which wraps the given enumerable.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Constructor
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule

PropertyCollection(IEnumerable<IProperty<T>>)

Initializes a new instance of the PropertyCollection<TContainer> struct which wraps the given enumerable.
public PropertyCollection(IEnumerable<IProperty<TContainer>> enumerable)

Parameters

An IEnumerable of properties to wrap.

PropertyCollection(List<IProperty<T>>)

Initializes a new instance of the PropertyCollection<TContainer> struct which wraps the given properties list.
public PropertyCollection(List<IProperty<TContainer>> properties)

Parameters

A list of properties to wrap.