There are errors related to the name.
[21:31:18] Assets\scripts\playerControler.cs(16,28): error CS0103: The name 'input' does not exist in the current context
[21:31:18] Assets\scripts\playerControler.cs(16,56): error CS0103: The name 'movementSpeed' does not exist in the current context
[21:31:18] Assets\scripts\playerControler.cs(17,26): error CS0103: The name 'input' does not exist in the current context
[21:31:18] Assets\scripts\playerControler.cs(17,52): error CS0103: The name 'movementSpeed' does not exist in the current context
Assets\scripts\playerControler.cs(16,28): error CS0103: The name 'input' does not exist in the current context
public class playerControler : MonoBehaviour
Charactercontroller characterController;
public float movmentspeed = 5;
// Start is called before the first frame update
void Start()
charactercontroller = GetComponent<Charactercontroller>();
// Update is called once per frame
void Update()
{
float horizontal= input.GetAxis("Horizontal") *movementSpeed; float vertical = input.GetAxis("Vertical") *movementSpeed;
charactercontroller.Move (transform.forward* vertical + transform.right* horizontal);
}