I’m currently doing something as making the camera move while holding down the “W” button, yet the Update() function doesn’t seem to be automatically updating and reacting to my multiplication of deltaTime.
if(Input.GetButton("Forward")) { transform.position += transform.forward * moveSpeed * Time.deltaTime; }
I press the “W” button and it moves forward. I hold the “W” button and it moves once and only once. Am I missing something?