private BakeNode CreateBakeNodeAt(RectCoord offset) { BakeDrawingBoard drawingBoard = CreateGameObject <BakeDrawingBoard>("LandformBakeDrawingBoard"); drawingBoard.transform.position = ChunkInfo.ToLandformPixel(offset); return(new BakeNode(offset, drawingBoard)); }
public BakeNode(RectCoord offset, BakeDrawingBoard drawingBoard) { if (drawingBoard == null) { throw new ArgumentNullException(nameof(drawingBoard)); } Offset = offset; DrawingBoard = drawingBoard; }