PlacementGrid.SetCell C# (CSharp) Метод

SetCell() публичный Метод

public SetCell ( int r, int c, bool closed ) : void
r int
c int
closed bool
Результат 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.");
	}