- Home /
Question by
piyushrout2001 · Apr 23, 2020 at 04:28 AM ·
c#scripting problemerrorunityeditormonobehaviour
No Monobehaviour scripts in files
So I am using UNITY 2019.3 and created a new empty 2D project. When I created a new script with name "Player" , it is showing an error in the inspector. Please Suggest how to deal with this.
annotation-2020-04-23-094748.png
(120.8 kB)
annotation-2020-04-23-094832.png
(70.5 kB)
Comment
Answer by StarShade88 · Apr 23, 2020 at 06:29 AM
What is the error? Can you send it?
@StarShade88 the error is showing in the inspector itself
"No $$anonymous$$onobehavioir scripts in the file , or their names do not match the file name"