Page 1 of 1

Cursor disapear after first answer

Posted: Fri Jul 02, 2021 4:03 pm
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 !

Re: Cursor disapear after first answer

Posted: Fri Jul 02, 2021 4:52 pm
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.

Re: Cursor disapear after first answer

Posted: Sat Jul 03, 2021 8:29 am
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);
}

Re: Cursor disapear after first answer

Posted: Sat Jul 03, 2021 8:34 am
by Tony Li
Glad to help!