Adding Inputs to UI

Newly created inputs are not automatically added to the options settings, so you need to do a few extra steps to see the newly added inputs and be able to rebind them.

  1. Open the GAMEMANAGER / MAINMENU prefab. Both prefabs can be found in the UHFPS -> Content -> Resources -> Setup folder.

  2. Find the Panel_Controls object in both GAMEMANAGER and MAINMENU.

  1. Under the Viewport -> Content inside Panel_Controls you will notice many binding objects. Those represent the actual controls that are shown in the options.

  2. To add a newly created control, simply duplicate the Binding_Forward or another binding object.

  3. Select the duplicated binding and in the Input Options component, assign the newly created input to the Input Reference field.

  1. Finally, in the GLoc Text component, select Gloc Key that represents the localization key for the input binding.

Localization

To display a newly created input actions in both the Main Menu and Pause Menu, you must perform the same steps in the GAMEMANAGER and MAINMENU prefabs.

Last updated