namespace Zinnia.Tracking.Follow.Operation.Extraction { using System; using UnityEngine; using UnityEngine.Events; using Zinnia.Data.Operation.Extraction; /// /// Extracts the of the EventSource from a given . /// public class ObjectFollowerEventDataSourceExtractor : GameObjectExtractor { /// /// Defines the event with the specified . /// [Serializable] public class UnityEvent : UnityEvent { } /// protected override GameObject ExtractValue() { return Source != null ? Source.EventSource : null; } } }