namespace Zinnia.Data.Operation.Extraction
{
using UnityEngine;
using UnityEngine.Events;
///
/// Provides the basis for emitting a .
///
/// The source to retrieve the from.
/// The event to invoke.
public abstract class Vector2Extractor : ValueExtractor where TEvent : UnityEvent, new()
{
///
protected override bool InvokeResult(Vector2? data)
{
return InvokeEvent(data.GetValueOrDefault());
}
}
}