PropertyBag
The PropertyBag class provides access to registered property bag instances.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Class
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
public static class PropertyBag
Static Methods
Method | Description |
|---|---|
| AcceptWithSpecializedVisitor | Accepts visitation for the given property bag and tries to invoke the most specialized visitor first. |
| Exists | Returns true if a property bag exists for the given type. |
| GetAllTypesWithAPropertyBag | Returns all the Type that have a registered property bag. |
| GetPropertyBag | Gets an interface to the PropertyBag<TContainer> for the given type. |
| Register | Registers a strongly typed PropertyBag<TContainer> for a type. |
| RegisterArray | Creates and registers a IPropertyBag<TContainer> for a built in array type. |
| RegisterDictionary | Creates and registers a IPropertyBag<TContainer> for a Dictionary_2 type. |
| RegisterHashSet | Creates and registers a IPropertyBag<TContainer> for a HashSet_1 type. |
| RegisterIDictionary | Creates and registers a IPropertyBag<TContainer> for the specified IDictionary_2 type. |
| RegisterIList | Creates and registers a IPropertyBag<TContainer> for the specified IList_1 type. |
| RegisterISet | Creates and registers a IPropertyBag<TContainer> for the specified ISet_1 type. |
| RegisterList | Creates and registers a IPropertyBag<TContainer> for a List_1 type. |
| TryGetPropertyBagForValue | Gets a property bag for the concrete type of the given value. |