Announcement

Collapse
No announcement yet.

Change Touch Interface at runtime

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

    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.
    UE4 Tutorials for 3rd person Blueprint project from scratch: Youtube Channel
    Use Blender 2.8 to make UE4 compatible animations: Blog

    #2
    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.

    Comment

    Working...
    X