Back to API Reference
Class

SpoilerModifier

Tracks whether each spoiler entity has been revealed by activation.

Remarks

The revealed state survives reparsing while the entity identity remains unchanged. Presentation is configured with ordinary modifiers and parameter changes in the same graph.
public bool IsRevealed()

Returns whether a current spoiler entity is revealed.

public void SetRevealed()

Changes one current spoiler entity and drives every rule bound to RevealedSignal.

public void ConcealAll()

Conceals every currently revealed spoiler and animates the configured rules.

protected override void HandleDefaultAction()
protected override void HandleRangesRebuilt()
public static readonly RangeSignal<bool> RevealedSignal

Typed signal published for every spoiler entity. Project selectors and external drivers can observe the same state as the built-in cover rule.

public SpoilerRevealChangedHandler RevealChanged

Occurs after one current range changes its revealed state.