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

Question New input system with ui buttons

Discussion in 'Scripting' started by armenpetrosyan3333, Nov 19, 2022.

  1. armenpetrosyan3333

    armenpetrosyan3333

    Joined:
    Apr 19, 2022
    Posts:
    1
    Hey guys,I have a little problem,are there any ideas how can I connect new input system bindings to UI buttons?
     
  2. Munchy2007

    Munchy2007

    Joined:
    Jun 16, 2013
    Posts:
    1,732
    What particular problem are you having? Once you enable the new input system it should give you a prompt that automatically updates the EventSystem in your scene to work with it, so that the UI components will then work as usual.
     
    Last edited: Nov 19, 2022
  3. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    7,606
    There's nothing to connect. You just need the an event system with a standalone input module active in any scene and it should work.