Dialogue System integration, vanishing cursor

Announcements, support questions, and discussion for Quest Machine.
Post Reply
oldmantom
Posts: 14
Joined: Thu Aug 08, 2019 9:03 am

Dialogue System integration, vanishing cursor

Post by oldmantom »

Toni,

I'm working through tutorial 6, integrating Dialogue Sys with Quest machine. Demo scene works flawlessly. I build a new scene as instructed but in play mode, no cursor. I've searched through many of the prior cursor visibility topics without remedy. I've compared the scene's dialogue sys prefab in my scene with the emo scene, no clue. Any ideas?

Sincerely,
Tom
User avatar
Tony Li
Posts: 21926
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System integration, vanishing cursor

Post by Tony Li »

Hi Tom,

Inspect the Dialogue Manager GameObject's Input Device Manager component and change the Input Device dropdown to Mouse. In the base prefab, it's set to Joystick, which hides the mouse cursor until you move or click the cursor. (If you've UNticked Detect Cursor Control, it won't change to Mouse mode if you move or click the mouse.)
oldmantom
Posts: 14
Joined: Thu Aug 08, 2019 9:03 am

Re: Dialogue System integration, vanishing cursor

Post by oldmantom »

Actually, I tried to explicitly set input device to mouse from joystick but that does not work. The demo scene has is set to joystick and it detects mouse movement and displays the cursor. The settings in my scene are identical but no cursor. So, I disabled the DS prefab that was added to scene in video and pasted in a copy of the DS prefab from the demo scene, in playmate, cursor appears. I don't know what to do next.
User avatar
Tony Li
Posts: 21926
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System integration, vanishing cursor

Post by Tony Li »

That is really strange. The Dialogue Manager in example scene 06 is just the base prefab with these changes:
  • Assigned the tutorial dialogue database
  • Added the DS Quest Machine Bridge and Common Library Lua components
Are there any errors or warnings in the Console window?

Can you send a reproduction project to tony (at) pixelcrushers.com?
oldmantom
Posts: 14
Joined: Thu Aug 08, 2019 9:03 am

Re: Dialogue System integration, vanishing cursor

Post by oldmantom »

I went back through and discovered I believe what I did wrong. Rather than adding the Dialogue Manager prefab from the prefabs folder, I copied it from the Dialogue System/Demo/Prefabs folder by mistake. Replacing it with the base prefab solved the issue. Sorry for the trouble.

Just for my own understanding, what's the difference in the demo's prefab from the base prefab?
User avatar
Tony Li
Posts: 21926
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System integration, vanishing cursor

Post by Tony Li »

Hi,

It has some customizations specific to the demo scene. I didn't think any of them fiddled with the cursor, since the player GameObject in the scene is what hides the cursor. But I may not be remembering some setting on it. Anyway, you're correct to use the main prefab, not the variant that's in the demo folder.
oldmantom
Posts: 14
Joined: Thu Aug 08, 2019 9:03 am

Re: Dialogue System integration, vanishing cursor

Post by oldmantom »

Thanks again!
Post Reply