Announcement

Collapse
No announcement yet.

Change Touch Interface at runtime

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • started a topic Change Touch Interface at runtime

    Change Touch Interface at runtime

    I need Touch Interface enabled on some levels but not on others. How can I enable/disable it via code?

    Additionally how can I change the interface dynamically so it looks different during runtime. I know I can set this in Project -> Input settings but I'd like to be able to do this at runtime.

  • replied
    To disable the touch interface, either call the "Remove All Widgets" blueprint node at runtime or go to "Project Settings > Engine > Input > Mobile" and clear Default Touch Interface so it is not automatically created.

    To create it at runtime, call Activate Touch Interface on your Player Controller.

    Leave a comment:

Working...
X