From 3af4c218c0e70167db23a6303d2af30aff37d2fe Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 20 Aug 2020 23:40:50 -0400 Subject: Removed a bunch of stuff; Changes --- .../Runtime/Events/Signals/SignalEmitter.cs | 72 ---------------------- 1 file changed, 72 deletions(-) delete mode 100644 Library/PackageCache/com.unity.timeline@1.2.13/Runtime/Events/Signals/SignalEmitter.cs (limited to 'Library/PackageCache/com.unity.timeline@1.2.13/Runtime/Events/Signals/SignalEmitter.cs') diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Runtime/Events/Signals/SignalEmitter.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Runtime/Events/Signals/SignalEmitter.cs deleted file mode 100644 index d4d4ca9..0000000 --- a/Library/PackageCache/com.unity.timeline@1.2.13/Runtime/Events/Signals/SignalEmitter.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using UnityEngine; -using UnityEngine.Playables; - -namespace UnityEngine.Timeline -{ - /// - /// - /// Marker that emits a signal to a SignalReceiver. - /// - /// A SignalEmitter emits a notification through the playable system. A SignalEmitter is used with a SignalReceiver and a SignalAsset. - /// - /// - [Serializable] - [CustomStyle("SignalEmitter")] - [ExcludeFromPreset] - public class SignalEmitter : Marker, INotification, INotificationOptionProvider - { - [SerializeField] bool m_Retroactive; - [SerializeField] bool m_EmitOnce; - [SerializeField] SignalAsset m_Asset; - - /// - /// Use retroactive to emit the signal if playback starts after the SignalEmitter time. - /// - public bool retroactive - { - get { return m_Retroactive; } - set { m_Retroactive = value; } - } - - /// - /// Use emitOnce to emit this signal once during loops. - /// - public bool emitOnce - { - get { return m_EmitOnce; } - set { m_EmitOnce = value; } - } - - /// - /// Asset representing the signal being emitted. - /// - public SignalAsset asset - { - get { return m_Asset; } - set { m_Asset = value; } - } - - PropertyName INotification.id - { - get - { - if (m_Asset != null) - { - return new PropertyName(m_Asset.name); - } - return new PropertyName(string.Empty); - } - } - - NotificationFlags INotificationOptionProvider.flags - { - get - { - return (retroactive ? NotificationFlags.Retroactive : default(NotificationFlags)) | - (emitOnce ? NotificationFlags.TriggerOnce : default(NotificationFlags)) | - NotificationFlags.TriggerInEditMode; - } - } - } -} -- cgit v1.2.3