AnimancerEditorUtilities.

InitializeCleanDictionary<TKey, TValue>(Dictionary<TKey, TValue>) Method

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
AnimancerEditorUtilities

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<TKey, TValue>

Return Value

Type Description
bool