public void SetMazeHeight() { int inputValue = ToolMethods.SetEvenNumberToOdd(ToolMethods.GetIntValueFromInputField(mazeHeightInputField)); mazeDimensions = new Vector2Int(mazeDimensions.x, inputValue); }
//maze value setters for button functions public void SetMazeWidth() { int inputValue = ToolMethods.SetEvenNumberToOdd(ToolMethods.GetIntValueFromInputField(mazeWidthInputField)); mazeDimensions = new Vector2Int(inputValue, mazeDimensions.y); }