namespace Zinnia.Data.Operation.Extraction { using System; using UnityEngine; using UnityEngine.Events; /// /// Extracts and emits the normal at the collision from . /// public class RaycastHitNormalExtractor : Vector3Extractor { /// /// Defines the event with the specified . /// [Serializable] public class UnityEvent : UnityEvent { } /// protected override Vector3? ExtractValue() { if (Source.transform == null) { return null; } return Source.normal; } } }