예제 #1
0
 public CubeFaceBuilder(IList <BlockTexture> textures)
 {
     m_faceTextures = new Rect[textures.Count];
     for (int i = 0; i < textures.Count; i++)
     {
         m_faceTextures[i] = TextureAtlas.GetRectangle((int)textures[i]);
     }
 }