private static extern void INTERNAL_CALL_ReadPixels(Texture2D self, ref Rect source, int destX, int destY, bool recalculateMipMaps); [MethodImpl(MethodImplOptions.InternalCall)]
public void ReadPixels(Rect source, int destX, int destY) { bool recalculateMipMaps = true; Texture2D.INTERNAL_CALL_ReadPixels(this, ref source, destX, destY, recalculateMipMaps); }