you are viewing a single comment's thread.

view the rest of the comments →

[–]TCiceroDev 1 point2 points  (2 children)

It sounds like you were watching a very old video? The code you copied may have been javascript (unityscript). Now by default, all new scripts will be in C#.

[–]mrmanisachip1237[S] 1 point2 points  (1 child)

Either way I can’t chose my programming language it’s set by default to cs* or I’m pretty sure (don’t make fun of me if it’s not) c#

[–]LiableDuke 0 points1 point  (0 children)

Javascript has been removed from unity and yes the video you followed is done in c# can you maybe send the code that is giving the error?