No overload for method `Move' takes `1' arguments

using UnityEngine;
using System.Collections;

public class CharacterController : MonoBehaviour {

	float gravity = 10;
	Vector3 moveDirection = Vector3.zero;
	CharacterController characterController;
	// Use this for initialization
	void Start () 
	{
		characterController = GetComponent<CharacterController> ();
	}
	
	// Update is called once per frame
	void Update () 
	{
		InputCheck ();
		Move ();
		SetAnimation ();
	}

	void InputCheck()
	{}

	void Move()
	{
		moveDirection.y -= gravity;
		characterController.Move (moveDirection * Time.deltaTime);
	}

	void SetAnimation()	
	{}
}

Hey, this small and simple piece of code keeps on giving me the folowing error: “(31,37): error CS1501: No overload for method Move' takes 1’ arguments”. It`s from a video tutorial where it works perfectly fine (Maybe I did some silly mistake?!).
Thanks already :slight_smile:

You’ve named your class here CharacterController. Your class has a Move() method. Your Move() class/method overrides the other CharacterController class. To fix change the name of your class and file to something other than CharacterController.