Откуда появляются черные линии?
Сурс имейдж - 100x100
Готовая нарезка - 50x50
Вот код
Details = new Texture2D[4];
for (int i = 0; i < 4; i++ )
{
Details[i] = new Texture2D(50, 50, TextureFormat.RGBAFloat, false);
}
//tempColor = new Color32[625];
int c = 0;
for(int x = 0; x < 2; x++)
{
for (int y = 0; y < 2; y++)
{
Color[] pixes = GetTexture.GetPixels(x * 50, y * 50, 50, 50);
Details[c].SetPixels(pixes);
c++;
}
}
