private Texture2D CreateDummyTexture(int width, int height)
{
Texture2D textured = new Texture2D(width, height);
for (int i = 0; i < height; i++)
{
for (int j = 0; j < width; j++)
{
Color color = ((j & i) <= 0) ? Color.gray : Color.white;
textured.SetPixel(j, i, color);
}
}
textured.Apply();
return textured;
}