Hi there! I’m learning the new input system and there’s a detail I don’t understand. When you check the “Generate C# class” in the inspector, a wrapper class is automatically generated for you from the inputActions asset. This wrapper generates some useful shortcuts, which is good. But what happens if I want to allow the user to rebind the default mappings? The users won’t be happy if they had to rebind the controls every time they start the game, so obviously I would persist those changes to a JSON file and load it the next time the game starts.
I know I can load it as an InputActionAsset, or a list of InputActionMaps, but the generated wrapper doesn’t provide any constructor to fed an externally loaded InputActionAsset. I could maybe create a subclass of it, but that doesn’t seems right.
Any suggestions?