The name 'value' does not exist in the current context

I have installed Input System but in my code, when I get value in OnMove() the error is: “The name ‘value’ does not exist in the current context”. What is my problem?

Sorry, i forget to add parameter InputValue value, is my bad:((

Hi nhatt,

Welcome to our community! :slight_smile:

Good job on solving the problem yourself. It was a very common mistake that can happen to everybody. Thanks for sharing your solution. :slight_smile:

See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms