RegisterIDictionary
Creates and registers a IPropertyBag<TContainer> for the specified IDictionary_2 type.
読み終わるまでの所要時間 1 分最終更新 25日前
Definition
- Type: Method
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
RegisterIDictionary<T, U, V>()
Creates and registers a IPropertyBag<TContainer> for the specified IDictionary_2 type.
public static void RegisterIDictionary<TDictionary, TKey, TValue>() where TDictionary : IDictionary<TKey, TValue>
Remarks
To generate AOT paths for visitors use PropertyBag.RegisterIDictionary instead.
RegisterIDictionary<T, U, V, W>()
Creates and registers a IPropertyBag<TContainer> for the specified IDictionary_2 type.
public static void RegisterIDictionary<TContainer, TDictionary, TKey, TValue>() where TDictionary : IDictionary<TKey, TValue>
Remarks
The container is required to provide AOT code paths for PropertyVisitor.