I want to get a specific bind from this 2D composite (or any specific input in an action that has multiple).
In the method shown below, I use the path to an action to rebind it, so, if I have an action with one bind in it, I simply type the name of the action and I can rebind it. But for 2D composites or multiple binds in a single action, this doesn’t simply happen as it changes ALL the binds in it.
Two photos below**
So far I tried stuff like: “Movement/2DVector/Up” and similar pathing which didn’t work. I tried the following method but it kept returning /a which is obviously useless.
[Button] public void FindPath(int index)
{
Debug.Log("effecting path is: " +inputAction.bindings[index].effectivePath);
Debug.Log("path is: " +inputAction.bindings[index].path);
}
So I need to get the specific “path” if that even exists, otherwise, how do I deal with this?
Thanks.