public void draw(IMapRenderer mapRenderer) { Color[] pix; pix = mapRenderer.getColors(); mapTexture.SetPixels(pix); mapTexture.Apply(); }
public void draw(IMapRenderer mapRenderer) { MeshRenderer mr = GetComponent <MeshRenderer>(); mr.enabled = true; Color[] pix; pix = mapRenderer.getColors(); mapTexture.SetPixels(pix); mapTexture.Apply(); }