Question by
hellmaster223 · Feb 25, 2017 at 01:57 AM ·
answer
what doe it mean when by the file and class must match
im very confused and new to programing
Comment
Answer by hellmaster223 · Feb 25, 2017 at 02:46 AM
i was very confused on what this means and i would appreciate the help
Answer by nickcooper · Feb 25, 2017 at 02:14 PM
It means exactly what it says. If you create a filename "ThingyBob.cs" it has to match the class name in the file "class ThingyBob : Monobehavour". Its possible that you renamed one or the other.
Your answer
![](https://koobas.hobune.stream/wayback/20220612111910im_/https://answers.unity.com/themes/thub/images/avi.jpg)