public void Update() { if (Input.GetKeyDown("space")) { factory.BuildPlanet(this.transform.position); } }