文档

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.