CharacterStatePriority.cs 961 B

1234567891011121314151617181920212223242526
  1. // Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2024 Kybernetik //
  2. #pragma warning disable CS0649 // Field is never assigned to, and will always have its default value.
  3. namespace Animancer.Samples.StateMachines
  4. {
  5. /// <summary>Levels of importance for <see cref="CharacterState"/>s.</summary>
  6. ///
  7. /// <remarks>
  8. /// <strong>Sample:</strong>
  9. /// <see href="https://kybernetik.com.au/animancer/docs/samples/fsm/characters">
  10. /// Characters</see>
  11. /// </remarks>
  12. ///
  13. /// https://kybernetik.com.au/animancer/api/Animancer.Samples.StateMachines/CharacterStatePriority
  14. ///
  15. public enum CharacterStatePriority
  16. {
  17. // Enums are ints starting at 0 by default.
  18. // This means you can compare them with numerical operators like < and >.
  19. Low,// Could specify "Low = 0," if we want to be explicit or change the order.
  20. Medium,// Medium = 1,
  21. High,// High = 2,
  22. }
  23. }