How to get exclusive control of input?

Modified on Mon, 28 Dec 2020 at 07:46 PM

Just call:


VoxelPlayEnvironment.instance.input.enabled = false


to stop any input from being recorded by Voxel Play input controllers. This useful to get control of mouse, keyboard or touches when displaying a pause or menu interface.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article