PostGameSessionMenu()

public void PostGameSessionMenu()
    {

        postGamePanel.SetActive(true);

        try
        {
            AudioManager.MasterMixer.MuffleMusic();
        }
        catch 
        {
            string filePath = "";

            Exception ex = new();

            using( System.IO.StreamWriter writer = new System.IO.StreamWriter( filePath, true))
            {
                writer.WriteLine();
                writer.WriteLine();
                writer.WriteLine();

                while( ex != null)
                {
                    writer.WriteLine();
                    writer.WriteLine();
                    writer.WriteLine();

                    ex = ex.InnerException;
                }

            }
            // Will revisit error handling
        }

        /* Read values to make menu
         * Have buttons to scroll between
         * Switch to replay or exit to menu
         * 
         * Music muffled while in menu.
         */
    }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *