DEV Community

Discussion on: Simple unity 2d platformer AI

Collapse
 
btnglr profile image
btnglr

I'm getting "Assets\Enemy\EnemyMove.cs(23,36): error CS0246: The type or namespace name 'Player' could not be found (are you missing a using directive or an assembly reference?)" I only copy-pasted the third step and added
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

Collapse
 
bounasrnour profile image
Nour Bou Nasr

Yes sorry for late reply you should rename your player as metioned by Lonely.dk

Collapse
 
h1ghfa profile image
Lonely.dk

I think you just have to rename your player to "Player"