Hi i am having some trouble coding using C# in Unity 5. For some reason there is a red line under void Start and I don't know what to do to fix it. I provided a screen shot of the code below.


Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Nilesh JadavRank #109 · 20.3K reputationPosted May 6, 2017, 7:07 PM EDT
Try ";" in the end of your first line before Void Start()
{
Karthik ElumalaiRank #544 · 4.5K reputationPosted May 9, 2017, 7:39 AM EDT
Khaja MoizuddinRank #270 · 9.4K reputationPosted May 7, 2017, 2:19 AM EDT