Hi all,
First of I’m working with JavaScript.
I’m trying to access the variable “walkspeed” in a script called “movement”, so in the script that I’d like to modify the variable in I put this:
movement.walkspeed = 15.0;
but Unity prompts this error: An instance of type ‘movement’ is required to access non static member ‘walkspeed’.
Any help will be relished.