Forum rules - please read before posting.

CursorSystem returns after actionlist

Hello,

on gamepad mode, when I open some UI menu I want to hide the cursor.

I implemented it using this script running on OnMenuTurnOn of the desired menu.

            KickStarter.stateHandler.SetCursorSystem(false);

then when I open that menu using script (simply TurnOn function) connected to a key input it works as expected. the Cursor is hidden on the menu

but when I open the same menu using an action list and Turn On Menu action, the cursor is visible
(I debugged it and my other functions are not calling for SetCursorSystem(true) action afterwards)

do you have any idea if there is an OnActionListComplete event taking place for this?

Thanks

Comments

  • What are your AC/Unity versions?

    The only time AC will call SetCursorSystem itself is when disabling the cursor via the Engine: Manage systems Action.

    Though, this function merely disables AC's control over the cursor - not the rendering of the system cursor itself.

    Which cursor is visible - the AC cursor or your system cursor, and which graphic? What is your cursor rendering set to in the Cursor Manager?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.