Skip to content

AnimationClip.Clone(string) Method

Creates a shallow copy under a new name. Frames are shared, not deep copied. Event callbacks are not copied.

public Brine2D.Animation.AnimationClip Clone(string newName);

Parameters

newName System.String

Name for the cloned clip.

Returns

AnimationClip