0
The Unity compiler is presented with this error when implementing the Player control.
Assets/Scripts/Player.Cs(58,33): error CS0115: `Player.Attemptmove(int, int)' is marked as an override but no suitable method found to override
Code:
"protected override void AttemptMove <T> (int xDir, int yDir)
{
food--;
base.AttemptMove <T> ( xDir, yDir);
RaycastHit2D hit;
CheckIfGameOver ();
GameManager.instance.playerTurn = false;
}"