AnimancerUtilities.

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

Summary

Creates a new dictionary and returns true if it was null or calls Animancer.AnimancerUtilities.RemoveDestroyedObjects``2(System.Collections.Generic.Dictionary{``0,``1}) and returns false if it wasn't.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerUtilities

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