Skip to content

AnimationParameters.SetTrigger(string) Method

Definition

Namespace: Brine2D.Animation

Arms a trigger. The next call to GetTrigger(string) for this name will return true and immediately disarm it. Safe to call multiple times before it is read — it remains armed until consumed.

public void SetTrigger(string name);

Parameters

name System.String