Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RegisterIList

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

Definition

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

RegisterIList<T, U>()

Creates and registers a IPropertyBag<TContainer> for the specified IList_1 type.
public static void RegisterIList<TList, TElement>() where TList : IList<TElement>

Remarks

To generate AOT paths for visitors use PropertyBag.RegisterIList instead.

RegisterIList<T, U, V>()

Creates and registers a IPropertyBag<TContainer> for the specified IList_1 type.
public static void RegisterIList<TContainer, TList, TElement>() where TList : IList<TElement>

Remarks

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