private static extern RaycastHit2D[] INTERNAL_CALL_GetRayIntersectionAll(ref Ray ray, float distance, int layerMask); [MethodImpl(MethodImplOptions.InternalCall)]