RegisterISet
Creates and registers a IPropertyBag<TContainer> for the specified ISet_1 type.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
RegisterISet<T, U>()
Creates and registers a IPropertyBag<TContainer> for the specified ISet_1 type.
public static void RegisterISet<TSet, TElement>() where TSet : ISet<TElement>
Remarks
To generate AOT paths for visitors use RegisterISet{TContainer, TList, TElement} instead.
RegisterISet<T, U, V>()
Creates and registers a IPropertyBag<TContainer> for the specified ISet_1 type.
public static void RegisterISet<TContainer, TSet, TElement>() where TSet : ISet<TElement>
Remarks
The container is required to provide AOT code paths for PropertyVisitor.