기술 자료

Unity Engine

Unity Engine

GetProperties

Implement this method to return a PropertyCollection<TContainer> that can enumerate through all properties for the TContainer.
읽는 시간 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.