Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RegisterISet

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

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 PropertyBag.RegisterISet 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.