I have two scripts in my Unity project: Start.cs and Enemy.cs.I deleted Enemy.cs. I ran the game and it worked fine. Now, I created another script with the same name Enemy.cs. Now Unity is showing a compile error as follows when I run the game:
The namespace '' already contains a definition for 'Enemy'
But the first Enemy script is already deleted. Should I do something like clean up in Unity because it is cached somewhere or any other reason? If I have to clean up, how would I do that?