暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

IState.cs 819B

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. }