ドキュメント

Unity Engine

Unity Engine

GetProperties

Returns an enumerator that iterates through all static properties for the type.
読み終わるまでの所要時間 1 分最終更新 24日前

Definition

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

GetProperties()

Returns an enumerator that iterates through all static properties for the type.
PropertyCollection<TContainer> GetProperties()

Returns

Type

Description

PropertyCollection<T>A IEnumerator_1 structure for all properties.

Remarks

This should return a subset properties returned by IPropertyBag<TContainer>.GetProperties().

GetProperties(T)

Returns an enumerator that iterates through all static and dynamic properties for the given container.
PropertyCollection<TContainer> GetProperties(ref TContainer container)

Parameters

container

T
The container hosting the data.

Returns

Type

Description

PropertyCollection<T>A IEnumerator_1 structure for all properties.

Remarks

This should return all static properties returned by IPropertyBag<TContainer>.GetProperties() in addition to any dynamic properties. If the container is a collection type all elements will be iterated.