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

InputSystem package - Adding and "removing" InputAction callback

Discussion in 'Getting Started' started by dotBlueShoes, Jul 17, 2020.

  1. dotBlueShoes

    dotBlueShoes

    Joined:
    Oct 21, 2017
    Posts:
    1
    I found that there is an option to use "-=" but i haven't found any documentation about it. If it is what i think it might be i would be glad to try it out. In my code i am trying to first "subscribe" a function to a specific key and later replace that function with another one. This is due to a movement script i am writing which in theory would clear move queue when an information about opposite direction is being registered.