A game about forced loneliness, made by TACStudios
1namespace Unity.VisualScripting
2{
3 [Plugin(BoltState.ID)]
4 public sealed class BoltStateConfiguration : PluginConfiguration
5 {
6 private BoltStateConfiguration(BoltState plugin) : base(plugin) { }
7
8 public override string header => "State Graphs";
9
10 /// <summary>
11 /// Determines under which condition events should be shown in state nodes.
12 /// </summary>
13 [EditorPref]
14 public StateRevealCondition statesReveal { get; set; } = StateRevealCondition.Always;
15
16 /// <summary>
17 /// Determines under which condition event names should be shown in state transition.
18 /// </summary>
19 [EditorPref]
20 public StateRevealCondition transitionsReveal { get; set; } = StateRevealCondition.OnHoverWithAlt;
21
22 /// <summary>
23 /// Whether state transitions should show an arrow at their destination state. This can appear confusing when there are
24 /// multiple transitions.
25 /// </summary>
26 [EditorPref]
27 public bool transitionsEndArrow { get; set; } = false;
28
29 /// <summary>
30 /// Whether traversed transitions should show a droplet animation.
31 /// </summary>
32 [EditorPref]
33 public bool animateTransitions { get; set; } = true;
34 }
35}