Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Composite Bindings

Discussion in 'Input System' started by Tyndareus, Mar 19, 2020.

  1. Tyndareus

    Tyndareus

    Joined:
    Aug 31, 2018
    Posts:
    37
    How do you remove the bindings without removing the action?

    Additionally, when adding the binding at runtime the chosen keys are not raising the events, am i missing something?
     
  2. Rene-Damm

    Rene-Damm

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    Code (CSharp):
    1. action.ChangeBinding(1).Erase();
    There's an open bug about that. Fix is in flight and should be in next package.
     
  3. Tyndareus

    Tyndareus

    Joined:
    Aug 31, 2018
    Posts:
    37
    Ah thanks, shame about the bug with events.
    Didn't expect the erase to be deep in the binding itself, will see how far I get now

    @Rene-Damm is there an eta on the next package release?
     
  4. Rene-Damm

    Rene-Damm

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    ~2 weeks.