public ResultState(GameManager gameManagerRef, Kroken player) { this.gameManagerRef = gameManagerRef; // gameManagerRef.canvasManagerRef.ToggleVictoryPanel(true, player.GetName(), player.GetColor()); CanvasManager.ActivateWinMenu(player); gameManagerRef.audioManagerRef.StopMusicTrack(); PlayerManager.ClearPlayers(); EnemyManager.StopSpawning(); EnemyManager.ResetSpawner(); }