namespace Zinnia.Data.Operation.Extraction { using System; using UnityEngine; using UnityEngine.Events; /// /// Extracts and emits the texture coordinate of collision from . /// public class RaycastHitTextureCoordExtractor : Vector2Extractor { /// /// Defines the event with the specified . /// [Serializable] public class UnityEvent : UnityEvent { } /// protected override Vector2? ExtractValue() { if (Source.transform == null) { return null; } return Source.textureCoord; } } }