RegisterDictionary
Creates and registers a IPropertyBag<TContainer> for a Dictionary_2 type.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
RegisterDictionary<T, U>()
Creates and registers a IPropertyBag<TContainer> for a Dictionary_2 type.
public static void RegisterDictionary<TKey, TValue>()
Remarks
To generate AOT paths for visitors use PropertyBag.RegisterDictionary instead.
RegisterDictionary<T, U, V>()
Creates and registers a IPropertyBag<TContainer> for a Dictionary_2 type.
public static void RegisterDictionary<TContainer, TKey, TValue>()
Remarks
The container is required to provide AOT code paths for PropertyVisitor.