Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RegisterList

Creates and registers a IPropertyBag<TContainer> for a List_1 type.
Read time 1 minuteLast updated 12 days ago

Definition

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

RegisterList<T>()

Creates and registers a IPropertyBag<TContainer> for a List_1 type.
public static void RegisterList<TElement>()

Remarks

To generate AOT paths for visitors use RegisterList_2 instead.

RegisterList<T, U>()

Creates and registers a IPropertyBag<TContainer> for a List_1 type.
public static void RegisterList<TContainer, TElement>()

Remarks

The container is required to provide AOT code paths for PropertyVisitor.