public void Update() { if (GameManager.IsGameActive && !GameManager.IsGamePaused && planetController != null) { planetController.MoveAroundTarget(Input.GetAxis("Horizontal")); if (Input.GetMouseButtonDown(0) || Input.GetKeyDown(KeyCode.Space)) { planetController.StartCharge(); } if (Input.GetMouseButtonUp(0) || Input.GetKeyUp(KeyCode.Space)) { planetController.LaunchAttack(); } } }