private static extern void INTERNAL_CALL_ClosestPointOnBounds(Collider self, ref Vector3 position, out Vector3 value); [MethodImpl(MethodImplOptions.InternalCall)]
public Vector3 ClosestPointOnBounds(Vector3 position) { Vector3 result; Collider.INTERNAL_CALL_ClosestPointOnBounds(this, ref position, out result); return(result); }