// Update is called once per frame void Update() { if (Input.GetKey(KeyCode.LeftControl)) { if (Input.GetMouseButtonUp(0)) { unitHandler.CreateUnit(9, new Vector3(0, 0, 0)); } } }