Forum rules - please read before posting.

Changing ControlsReader.useSimulatedCursorForUIEvents

Hello, I've been working on a new title menu screen for my games using AC and the Input System, and while I have wrapped my head around several elements I had initially trouble with and appreciate AC's broad capacities, I have one little suggestion to better it on that front - there should be a way to change ControlsReader.useSimulatedCursorForUIEvents at runtime. This variable is private and there is no function to change it, so I've made it protected and created a subclassed version of ControlsReader which containts a function to do just that. This was necessary in order to hide and display the AC cursor when switching between keyboard & mouse and gamepad. Hope a small change can be applied, thanks.

Comments

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.