Quantcast
Viewing all articles
Browse latest Browse all 48

Scripting Issue. Class and File Name

Okay I have a really pain in the ass problem in Unity lately (or ever since I started). Every script I create, once I attach it to say my player, it says "cant add script behaviour ______. The scripts file name doesn't match the name of the class defined in the script." Now I know this means my file name and class name are different USUALLY. But i write them in exactly the same. I'll send two pictures within showing the class name and the file name.can someone please help me. Im really nterested in scripting. ![alt text][2] ![alt text][1] [1]: /storage/temp/16766-capture1.jpg [2]: /storage/temp/16765-capture.jpg

Viewing all articles
Browse latest Browse all 48

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>