summaryrefslogtreecommitdiff
path: root/Library/PackageCache/com.unity.timeline@1.2.13/Runtime/Playables/NotificationFlags.cs
blob: a83fc8ba66d1072a628864193a42766389a86f92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;

namespace UnityEngine.Timeline
{
    /// <summary>
    /// Use these flags to specify the notification behaviour.
    /// </summary>
    /// <see cref="UnityEngine.Playables.INotification"/>
    [Flags]
    [Serializable]
    public enum NotificationFlags : short
    {
        /// <summary>
        /// Use this flag to send the notification in Edit Mode.
        /// </summary>
        /// <remarks>
        /// Sent on discontinuous jumps in time.
        /// </remarks>
        TriggerInEditMode = 1 << 0,

        /// <summary>
        /// Use this flag to send the notification if playback starts after the notification time.
        /// </summary>
        Retroactive = 1 << 1,

        /// <summary>
        /// Use this flag to send the notification only once when looping.
        /// </summary>
        TriggerOnce = 1 << 2,
    }
}