PlacementGrid.SetCell C# (CSharp) Method

SetCell() public method

public SetCell ( int r, int c, bool closed ) : void
r int
c int
closed bool
return void
	public void SetCell(int r, int c, bool closed) {
		if (r >= 0 && r < height && c >= 0 && c < width)
			internalCells [CellIndex (r, c)].Closed = closed;
		else
			throw new UnityException ("Cell access out of range.");
	}