Page 1 of 1
HUD disappears in Play mode
Posted: Thu Apr 07, 2022 7:59 pm
by JimInNH
Initial question: is there any reason that Quest Machine couldn't be added to the Unity Third Person Controller playground scene? I've been following tutorial #1 - Scene Setup, but instead of using the scene and characters in the tutorial, I'm adding QM to the Third Person Controller Playground scene. I should mention that all worked fine when I followed the tutorial to the letter with provided assets.
Thank you-Jim
Re: HUD disappears in Play mode
Posted: Thu Apr 07, 2022 8:45 pm
by Tony Li
Hi,
Quest Machine works just fine with Unity's Third Person Controller.
Did you have a question about the HUD? It stays hidden until it has content to show (i.e., one or more active, tracked quests).
Re: HUD disappears in Play mode
Posted: Fri Apr 08, 2022 11:45 am
by JimInNH
I think what throws me is that, when following the QM-Tutorial 1:Scene Setup video, at the 6:16 mark the HUD becomes visible in the Scene window (in the video) when the "Journal Button" is added. That doesn't happen when I do the same in Unity on my machine.
Jim
Re: HUD disappears in Play mode
Posted: Fri Apr 08, 2022 12:02 pm
by JimInNH
Good news - finished the first tutorial and the journal opens when the player approaches the quest giver. I anticipate that things will continue to be fine moving into tutorial 2. One thing I notice that is that a mouse click on the CLOSE button in the journal doesn't work right away. Given that I am directing the third party character/player using the mouse for direction and WASD for movement, I need to use the Tab key a few times to give the CLOSE button focus.
Re: HUD disappears in Play mode
Posted: Fri Apr 08, 2022 1:07 pm
by Tony Li
Hmm, clicking on the close button should close the UI regardless of which UI button has focus. Maybe the Tab key is doing something else with your controller.
Re: HUD disappears in Play mode
Posted: Fri Apr 08, 2022 3:11 pm
by JimInNH
Re: close button in accepting a quest
Is there a way to set the Accept button as the default state? Because the third person controller uses the mouse and the keyboard to move the player, it's as if I can't accept the quest from the quest giver. The buttons in the HUD don't respond to the mouse at all.
Re: HUD disappears in Play mode
Posted: Fri Apr 08, 2022 3:41 pm
by Tony Li
Hi,
Let's make sure we're talking about the same UIs. These are the types of UIs in Quest Machine:
- qmUIs.png (477.47 KiB) Viewed 832 times
I'm going to assume you're talking about the dialogue UI. If so, make sure your scene has an EventSystem component. This will allow Unity UI to recognize mouse clicks.