Skip to content

AnimationClip.RemoveEvent Method

Definition

Namespace: Brine2D.Animation

Overloads
RemoveEvent\(ClipEvent\) Removes a specific event instance. Use this when multiple events share the same name.
RemoveEvent\(string\) Removes the first event with the given name.

AnimationClip.RemoveEvent\(ClipEvent\) Method

Removes a specific event instance. Use this when multiple events share the same name.

C#
public bool RemoveEvent(Brine2D.Animation.ClipEvent clipEvent);

Parameters

clipEvent ClipEvent

Returns

System.Boolean

AnimationClip.RemoveEvent\(string\) Method

Removes the first event with the given name.

C#
public bool RemoveEvent(string name);

Parameters

name System.String

Returns

System.Boolean