namespace Zinnia.Data.Operation.Extraction { using System; using UnityEngine; using UnityEngine.Events; /// /// Extracts and emits the of the collision from . /// public class RaycastHitColliderExtractor : ValueExtractor { /// /// Defines the event with the specified . /// [Serializable] public class UnityEvent : UnityEvent { } /// protected override Collider ExtractValue() { return Source.collider; } /// protected override bool InvokeResult(Collider data) { return InvokeEvent(data); } } }