Summary
Creates a new dictionary and returns true if it was null or calls
Animancer.Editor.AnimancerEditorUtilities.RemoveDestroyedObjects``2(System.Collections.Generic.Dictionary{``0,``1}) and
returns false if it wasn't.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- Animancer
Editor Utilities
Syntax
public static bool InitializeCleanDictionary<TKey, TValue>(ref Dictionary<TKey, TValue> dictionary)
where TKey : Object
Type Parameters
| Name | Description |
|---|---|
| TKey | |
| TValue |
Parameters
| Name | Type | Description |
|---|---|---|
| dictionary | Dictionary |
Return Value
| Type | Description |
|---|---|
| bool |