How to recreate InputBinding's Path field?

I want a custom property field for my input binding reference fields that also has a picker window like shown below:
image

How can I recreate this field for my string fields that reference InputBindings path?
Example script:

public class MyComponent : MonoBehaviour
{
    // I want this fields to look like above
    public string[] ignoredBindingPaths;
}

You can use the InputControlAttribute.

1 Like

Thanks! This is exactly what I was looking for, It works with arrays too :+1:t2:

1 Like