Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RegisterHashSet

Creates and registers a IPropertyBag<TContainer> for a HashSet_1 type.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Method
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule

RegisterHashSet<T>()

Creates and registers a IPropertyBag<TContainer> for a HashSet_1 type.
public static void RegisterHashSet<TElement>()

Remarks

To generate AOT paths for visitors use RegisterHashSet_2 instead.

RegisterHashSet<T, U>()

Creates and registers a IPropertyBag<TContainer> for a HashSet_1 type.
public static void RegisterHashSet<TContainer, TElement>()

Remarks

The container is required to provide AOT code paths for PropertyVisitor.