NotificationFlags.cs 859 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. namespace UnityEngine.Timeline
  3. {
  4. /// <summary>
  5. /// Use these flags to specify the notification behaviour.
  6. /// </summary>
  7. /// <see cref="UnityEngine.Playables.INotification"/>
  8. [Flags]
  9. [Serializable]
  10. public enum NotificationFlags : short
  11. {
  12. /// <summary>
  13. /// Use this flag to send the notification in Edit Mode.
  14. /// </summary>
  15. /// <remarks>
  16. /// Sent on discontinuous jumps in time.
  17. /// </remarks>
  18. TriggerInEditMode = 1 << 0,
  19. /// <summary>
  20. /// Use this flag to send the notification if playback starts after the notification time.
  21. /// </summary>
  22. Retroactive = 1 << 1,
  23. /// <summary>
  24. /// Use this flag to send the notification only once when looping.
  25. /// </summary>
  26. TriggerOnce = 1 << 2,
  27. }
  28. }