Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetProperties

Implement this method to return a PropertyCollection<TContainer> that can enumerate through all properties for the TContainer.
Read time 1 minuteLast updated 9 days ago

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.