A game about forced loneliness, made by TACStudios
1using System.Collections.Generic;
2using UnityEngine;
3
4namespace Unity.VisualScripting
5{
6 public interface IState : IGraphElementWithDebugData, IGraphElementWithData
7 {
8 new StateGraph graph { get; }
9
10 bool isStart { get; set; }
11
12 bool canBeSource { get; }
13
14 bool canBeDestination { get; }
15
16 void OnBranchTo(Flow flow, IState destination);
17
18 IEnumerable<IStateTransition> outgoingTransitions { get; }
19
20 IEnumerable<IStateTransition> incomingTransitions { get; }
21
22 IEnumerable<IStateTransition> transitions { get; }
23
24 void OnEnter(Flow flow, StateEnterReason reason);
25
26 void OnExit(Flow flow, StateExitReason reason);
27
28 #region Widget
29
30 Vector2 position { get; set; }
31
32 float width { get; set; }
33
34 #endregion
35 }
36}