Cursor disapear after first answer

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
sch
Posts: 4
Joined: Fri Jul 02, 2021 3:57 pm

Cursor disapear after first answer

Post by sch »

Hello :)

My problem is that when I have a dialogue the cursor appear and I can select an answer, but then it disapear and if there is another question I can't continue the dialogue because the cursor is not there anymore.
(I have "show cursor during conversation" ticked)

What mistake am I doing ?

Thank you !
User avatar
Tony Li
Posts: 21987
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cursor disapear after first answer

Post by Tony Li »

Hi,

Some other script (unrelated to the Dialogue System) may be hiding the cursor. Can you reproduce this issue in a new, empty project that only has the Dialogue System in it?

If that's not practical, please check other scripts and assets for anything that will automatically hide the cursor.
sch
Posts: 4
Joined: Fri Jul 02, 2021 3:57 pm

Re: Cursor disapear after first answer

Post by sch »

Thank you !

Yes another script was stopping it.


BTW for people who have this problem, add this in your code in case the problem appear in game you can always show the cursor.

if (Input.GetKeyUp(KeyCode.L))
{
SetCursorVisibility(Visibility.Visible);
}
User avatar
Tony Li
Posts: 21987
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cursor disapear after first answer

Post by Tony Li »

Glad to help!
Post Reply