Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536
  1. using System.Collections.Generic;
  2. using UnityEngine;
  3. namespace Unity.VisualScripting
  4. {
  5. public interface IState : IGraphElementWithDebugData, IGraphElementWithData
  6. {
  7. new StateGraph graph { get; }
  8. bool isStart { get; set; }
  9. bool canBeSource { get; }
  10. bool canBeDestination { get; }
  11. void OnBranchTo(Flow flow, IState destination);
  12. IEnumerable<IStateTransition> outgoingTransitions { get; }
  13. IEnumerable<IStateTransition> incomingTransitions { get; }
  14. IEnumerable<IStateTransition> transitions { get; }
  15. void OnEnter(Flow flow, StateEnterReason reason);
  16. void OnExit(Flow flow, StateExitReason reason);
  17. #region Widget
  18. Vector2 position { get; set; }
  19. float width { get; set; }
  20. #endregion
  21. }
  22. }