private static getBitArray ( Bounds2D, section, |
||
section | Bounds2D, | |
texture | ||
return | Color[] |
private static Color[] getBitArray(Bounds2D section, Texture2D texture)
{
return texture.GetPixels(section.x, section.y, section.width,section.height);
}