I have been trying to change the input variables in the Standalone Input Manager through script but have found no way to access them.
In a multiplayer match, I wish the Submit and Cancel buttons to be assigned based on which player pressed the start button first.
So as in the picture, these would change to be P2_Submit, P2_Cancel, P3_Submit, etc.
![alt text][1]
In my code it would be something like:
string prefix = “P1_” (or “P2_”, etc)
if(Input.GetButtonDown(prefix + “Start”)
Have player prefix be assigned to the submit and cancel buttons.
GetComponent().SubmitButton = prefix + “Submit”