I’m following a brackeys tutorial, and about halfway through the video we make it to this point
and I get “No overload for method ‘Move’ takes 3 arguments,” I check the video and he doesn’t get this error.
I’m not sure what to do.
Video Here:
https://www.youtube.com/watch?v=dwcT-Dch0bA&t
Code here:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class movement : MonoBehaviour
{
public CharacterController controller;
float horizontalmove = 0f;
public float runSpeed = 40f;
void Start()
{
}
void Update()
{
horizontalmove = Input.GetAxisRaw(“Horizontal”) * runSpeed;
}
void FixedUpdate()
{
controller.Move(horizontalmove * Time.fixedDeltaTime, false, false);
}
}