2013-10-03から1日間の記事一覧
void CreateTextureWithoutData () { // Create a new 2x2 texture ARGB32 (32 bit with alpha) and no mipmaps Texture2D texture = new Texture2D (2, 2, TextureFormat.ARGB32, false); // set the pixel values texture.SetPixel(0, 0, new Color(1.0f, …