void HandleInput(int inputType) { Ray inputRay = Camera.main.ScreenPointToRay(Input.mousePosition); RaycastHit hit; if (Physics.Raycast(inputRay, out hit)) { if (inputType == 0) { //hexGrid.ColorCell(hit.point, activeColor); hexGrid.AddFeature(hit.point, featurePrefab); } else { hexGrid.HighlightCell(hit.point); } } }