Search Unity

Resolved InputActionAsset - Schema/Device Binding - C# Generated Class

Discussion in 'Input System' started by Cyber-Dog, Aug 19, 2020.

  1. Cyber-Dog

    Cyber-Dog

    Joined:
    Sep 12, 2018
    Posts:
    352
    Can't for the life of me work out how to bind in any way when using the InputActionAsset C# generated script.

    I have gone into breakpoints inspecting all possible values, tried function that would seem to work but doesn't. Like ChangeBinding...() functions. I have searched the documentation. Nothing seems clear, is it possible?

    I tried the PlayerInput component, it's way too unreliable. Throws random errors, and ignores InputAction rules set up in the UI. Like press, tap, etc.

    Does anybody know?

    Or if they have previously used something else from the asset store that is reliable.
     
    GilbertoBitt likes this.
  2. Cyber-Dog

    Cyber-Dog

    Joined:
    Sep 12, 2018
    Posts:
    352
    GilbertoBitt likes this.