namespace Unity.VisualScripting
{
[Plugin(BoltState.ID)]
public sealed class BoltStateConfiguration : PluginConfiguration
{
private BoltStateConfiguration(BoltState plugin) : base(plugin) { }
public override string header => "State Graphs";
///
/// Determines under which condition events should be shown in state nodes.
///
[EditorPref]
public StateRevealCondition statesReveal { get; set; } = StateRevealCondition.Always;
///
/// Determines under which condition event names should be shown in state transition.
///
[EditorPref]
public StateRevealCondition transitionsReveal { get; set; } = StateRevealCondition.OnHoverWithAlt;
///
/// Whether state transitions should show an arrow at their destination state. This can appear confusing when there are
/// multiple transitions.
///
[EditorPref]
public bool transitionsEndArrow { get; set; } = false;
///
/// Whether traversed transitions should show a droplet animation.
///
[EditorPref]
public bool animateTransitions { get; set; } = true;
}
}