Hi guys, I need some tidying up from someone who understands.
I’m trying to figure out if it’s possible to have a variable that can be useful for me to change the binding path of an action in my Input System schema.
So in simple terms I’m trying to manage my game commands in runtime to test them and also to be able to modify them via options->commands when the game is complete.
I want to be able to have the dropdown UI control picker present in the inspector for the path property found in the Input Actions window. I leave you some images below.
P.N: The image shows the menu I want for the actions input, and on the right an enum
type variable Key
which is available for the basic input.
What I’m looking for is to have a variable like this but for input system.
public Key perspectiveKey;
A little more objective question.
Using the input system what is the best way to be able to modify the commands in the game?