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