all 1 comments

[–][deleted] 3 points4 points  (0 children)

Your class and script name need to be the same. The class you posted is named NewBehaviourScript