UE5 - Common UI: Lazy Image and Lazy Widget

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 6

  • @thomaswojewodka6480
    @thomaswojewodka6480 2 місяці тому

    Love the tutorials, :)

  • @ChelseySmithHandle
    @ChelseySmithHandle 2 місяці тому +1

    Great! Loving your Common UI tutorials.
    I recently have become stuck as I only want the D-Pad or NumKeys to control navigation in the UI... Is there a way to disable the joystick and mouse explicitly?
    Keep up the good work?

    • @WsEKond
      @WsEKond 2 місяці тому

      Just add ui input only and not Show mouse

    • @ChelseySmithHandle
      @ChelseySmithHandle 2 місяці тому

      @@WsEKond AFAIK mouse and joystick are two separate entities, so disabling mouse will not accomplish what I asked. I should have been more generic with my question: suppose I want to explicitly disable one type of input e.g. no mouse, no joystick, how would that be done. OR, how can I explicitly only use one type of input, e.g. only accept arrow keys or d-pad within the scope of a widget?

    • @MrButiier
      @MrButiier  2 місяці тому

      Hm I've never tried to disable just the joystick and mouse, one quick workaround would be to create a fake input action then within your main menu stack (whichever widget you have that remains persistent throughout the entire UI) and called it something like IA_DisableInput -> add all the keys you want to disable input that input action. It's not "ideal" but I need to do some digging because I don't think common ui has the functions exposed to blueprints to allow you to change or disable specific default keys