예제 #1
0
 public Frame(uPixelCanvas parentCanvas, Vector2Int overrideSize)
 {
     m_parentCanvas = parentCanvas;
     PaletteIndices = new byte[overrideSize.x * overrideSize.y];
 }
예제 #2
0
 public Frame(uPixelCanvas parentCanvas)
 {
     m_parentCanvas = parentCanvas;
     PaletteIndices = new byte[m_parentCanvas.Size.x * m_parentCanvas.Size.y];
 }