private void Update() { cameraModel.Process(); if (Input.GetKeyUp(KeyCode.F1)) { debugAction = DebugAction.PutBlueInfantry; gameUI.SetStatusText(debugAction.ToString()); SelectUnit(null, null); } if (Input.GetKeyUp(KeyCode.F2)) { debugAction = DebugAction.PutRedInfantry; gameUI.SetStatusText(debugAction.ToString()); SelectUnit(null, null); } }