void Update() { if (GameManager.gameStage == GameStage.Game) { float delta = Input.GetAxis("Mouse ScrollWheel"); if (delta != 0 && !GameScene.eventSystem.IsPointerOverGameObject()) { Player.UpdateCamera(delta); } } soundPlayer.Update(); }
protected override void Update() { soundPlayer.Update(); base.Update(); }