Search Unity

Question Is it possible to extend/customize the Input Actions Editor?

Discussion in 'Input System' started by Novack, Jan 6, 2023.

  1. Novack

    Novack

    Joined:
    Oct 28, 2009
    Posts:
    844
    Hey, I'd like to extend the editor in order to add some properties here:
    upload_2023-1-6_13-57-14.png
    I'd like to add there a human-readable localized string for each action name.

    Is editor customization currently possible?

    Any info much appreciated :)
    Thanks in advance!
     
  2. Novack

    Novack

    Joined:
    Oct 28, 2009
    Posts:
    844
    It seems that the package files include the custom editor classes. Will check that, but will get messy everytime we need to update the package.
     
  3. chemicalcrux

    chemicalcrux

    Joined:
    Mar 16, 2017
    Posts:
    720
    My solution to this problem was to just turn the action name into a key (e.g. "Control-Gameplay-Interact"), which is used to query a string table :p

    Not exactly the best way, mind you...
     
  4. Novack

    Novack

    Joined:
    Oct 28, 2009
    Posts:
    844
    Im doing exactly the same, but want to add a section on that editor that will be able to display (and set) the localization for that key.