Skip to content

AnimationBlendSelector2D.RespectNonLoopingClips Property

Definition

Namespace: Brine2D.Animation

When true \(default\), the tree will not interrupt a non-looping clip that was started outside the tree. Set to false to give the tree unconditional ownership of the animator.

C#
public bool RespectNonLoopingClips { get; set; }

Property Value

System.Boolean

Remarks

\<b>Limitation:\</b> the yield check is name-based. If a clip played via PlayDirect\(AnimationClip, bool\) or PlayDirectQueued\(AnimationClip\) happens to share a name with one of this tree's nodes, and the tree previously drove that same clip, the tree will not yield to it. Avoid reusing node clip names for externally-driven one-shot clips to prevent this ambiguity.