Main Menu & Quest Machine

Announcements, support questions, and discussion for Quest Machine.
Mchia_Soo
Posts: 72
Joined: Sun Jun 30, 2019 11:59 pm

Re: Main Menu & Quest Machine

Post by Mchia_Soo »

Alright, so basically what happened is that the buttons in my game will automatically be disabled after restarting the game. It works well before the restart.

Here's option panel I create. This panel did not come out after the game restarts.
Attachments
Capture01.JPG
Capture01.JPG (120.2 KiB) Viewed 1230 times
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Main Menu & Quest Machine

Post by Tony Li »

I'm sorry; I still don't understand. Can you send a reproduction project to tony (at) pixelcrushers.com? Please include the steps I should follow to reproduce the problem.
Mchia_Soo
Posts: 72
Joined: Sun Jun 30, 2019 11:59 pm

Re: Main Menu & Quest Machine

Post by Mchia_Soo »

I have emailed you my project. Please check if you receive it. Thanks a lot.
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Main Menu & Quest Machine

Post by Tony Li »

Thank you for sending the project. In PauseMenu.cs, update GameIsPaused. For example, in Retry():

Code: Select all

    public void Retry()
    {
        GameIsPaused = false; // <-- ADD THIS LINE.
        Time.timeScale = 1;
        ...
Mchia_Soo
Posts: 72
Joined: Sun Jun 30, 2019 11:59 pm

Re: Main Menu & Quest Machine

Post by Mchia_Soo »

Yeah! Problem is solved! Thank you so much for the fast response!!
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Main Menu & Quest Machine

Post by Tony Li »

You're welcome! Glad to help.
Post Reply