Hi, I’m having trouble with the syntax for bindToAllDevices:
https://docs.unity3d.com/Packages/c…perimental.Input.Plugins.Users.InputUser.html
So far I’ve tried:
Code (CSharp):
- public InputUser MenuUI;
- MenuUI.bindToAllDevices = true;
which returned an error of:
‘InputUser’ does not contain a definition for ‘bindToAllDevices’ and no accessible extension method ‘bindToAllDevices’ accepting a first argument of type ‘InputUser’ could be found (are you missing a using directive or an assembly reference?)
and:
Code (CSharp):
- InputUser.bindToAllDevices = true;
which returned an error of:
‘InputUser’ does not contain a definition for ‘bindToAllDevices’
(I have included ‘using UnityEngine.InputSystem.Users;’ for both of these attempts)
Does anyone know the correct syntax for this?