void Update() { if (playerInputController.FireButton) { projectileLauncher.Fire(); } playerMovement.Direction = new Vector3(playerInputController.Horizontal, 0f, playerInputController.Vertical).normalized; }
private void Attack() { RotateTowardsTarget(); projectileLauncher.Fire(); }