Search Unity

How do the axes work in the Event System

Discussion in 'UI Toolkit' started by StephanieRowlinson, Dec 2, 2019.

  1. StephanieRowlinson

    StephanieRowlinson

    Joined:
    Jul 23, 2014
    Posts:
    137
    I'm playing around with the demo and I've created my own panel, which works fine, but initially I got a whole bunch of errors that the "Input Axis Horizontal" and "Input Axis Vertical" hadn't been setup. I changed the "Horizontal" to be "HorizontalUI" in the inspector and the errors are gone, but I can't figure out what HorizontalUI is or how to use it.
     
  2. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    780
    Hello,

    The intent of this is to dispatch navigation events into the UIElements panels based on the Input system configuration.

    I will fix the bug you are encountering and update the code of the Github project. If time allows I will build a small example for this.
     
    StephanieRowlinson likes this.
  3. StephanieRowlinson

    StephanieRowlinson

    Joined:
    Jul 23, 2014
    Posts:
    137
    Thank you so much!