ドキュメント

Unity Engine

Unity Engine

GetProperties

Implement this method to return a PropertyCollection<TContainer> that can enumerate through all properties for the TContainer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

GetProperties()

Implement this method to return a PropertyCollection<TContainer> that can enumerate through all properties for the
TContainer
.
public abstract PropertyCollection<TContainer> GetProperties()

Returns

Type

Description

PropertyCollection<T>A PropertyCollection<TContainer> structure which can enumerate each property.

GetProperties(T)

Implement this method to return a PropertyCollection<TContainer> that can enumerate through all properties for the
TContainer
.
public abstract PropertyCollection<TContainer> GetProperties(ref TContainer container)

Parameters

container

T
The container hosting the data.

Returns

Type

Description

PropertyCollection<T>A PropertyCollection<TContainer> structure which can enumerate each property.