CloneContext.

GetOrCreateClone<T>(ICloneable<T>) Method

Summary

Returns the value registered using `original` as its key if there is one. Otherwise, calls Animancer.CloneableExtensions.Clone``1(Animancer.ICloneable{``0}), adds the clone to this dictionary, and returns it.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
CloneContext

Syntax

public T GetOrCreateClone<T>(ICloneable<T> original)

Type Parameters

Name Description
T

Parameters

Name Type Description
original ICloneable<T>

Return Value

Type Description
T