Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Why is ApplyParameterOverride() on Action not working?

Discussion in 'Input System' started by valentin56610, Aug 9, 2023.

  1. valentin56610

    valentin56610

    Joined:
    Jan 22, 2019
    Posts:
    148
    I am simply trying to change the scroll speed for my mouse input.

    Here's my input asset, showing the processor being setup with a default value of 10:
    Capture d’écran 2023-08-09 à 16.28.05.jpg

    Then here's the code that runs once my GameSetting file is loaded:
    Capture d’écran 2023-08-09 à 16.29.18.jpg

    And here's the console results, showing that no override has been applied:
    Capture d’écran 2023-08-09 à 16.30.26.jpg

    Is there anything else that I should do in order to override a processor??

    My MouseScrollScale variable is of type float
     
  2. valentin56610

    valentin56610

    Joined:
    Jan 22, 2019
    Posts:
    148
    I have tried to apply to both the class (C# file generated) or to the .asset directly, none of them work