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