Announcement

Collapse
No announcement yet.

Get a list of Mapped Action Inputs

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

    Get a list of Mapped Action Inputs

    Is there a way to get the list of Actions Inputs, mapped in the project, by code?

    My main goal is to expose in the Blueprint Editor Details Panel an option to choose which ActionInput (defined on each project) will trigger a method inside my class. Basically, the developer will choose which ActionInput will bind another method.

    I don't even know if it is possible, but I would love to hear your thoughts about it.

    #2
    Found out how to get the list:

    Code:
    TArray<FName> Names;
    GetDefault<UInputSettings>()->GetActionNames(Names);

    Comment

    Working...
    X