Search Unity

  1. Click here to receive a gift with your purchase of Unity Pro or Unity Enterprise.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Composite Bindings

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

  1. Tyndareus

    Tyndareus

    Joined:
    Aug 31, 2018
    Posts:
    29
    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

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,521
    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:
    29
    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

    Unity Technologies

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