namespace Zinnia.Data.Operation.Extraction
{
using System;
using UnityEngine;
using UnityEngine.Events;
///
/// Extracts and emits the associated with the colliding transform from the .
///
public class RaycastHitTransformExtractor : GameObjectExtractor
{
///
/// Defines the event with the specified .
///
[Serializable]
public class UnityEvent : UnityEvent { }
///
protected override GameObject ExtractValue()
{
return Source.transform != null ? Source.transform.gameObject : null;
}
}
}