ドキュメント

Unity Engine

Unity Engine

RegisterISet

Creates and registers a IPropertyBag<TContainer> for the specified ISet_1 type.
読み終わるまでの所要時間 1 分最終更新 25日前

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.