Fallzy
Fallzy
CC#
Created by Fallzy on 12/12/2023 in #help
✅ VS not recognizing functions
Hello, I've recently gotten into unity and I opened a script with all the default stuff so its using unity code. For some reason the functions are highlighted yellow and not recognized but they still work in unity when I run it and put a log message in. Even update, Awake, etc are showing yellow. Does anyone know how I could fix that?
15 replies
CC#
Created by Fallzy on 6/28/2023 in #help
❔ Code not running.
Hey guys. I've just started learning C# today and I made the following code internal class Program { static void Main(string[] args) { Console.WriteLine("Whats your name?"); string userName = Console.ReadLine(); Console.WriteLine("Hello " + userName + " Welcome"); } } I think everything should be fine but its not running at all, it shows an error around Console.ReadLine() and Im not really sure how to fix it.
42 replies