Seoner
Seoner
CC#
Created by 474122955031314442 on 12/12/2023 in #help
✅ need quick help how to print 2 decimals
Hover over WriteLine it's a method that requires a string, so you have to pass it a string, not a double, some methods might be overloaded (they have the same syntax but requires diffrent parameters) in case there is a overloaded method that can receive argument of your variable type, you don't have to parse
9 replies
CC#
Created by 474122955031314442 on 12/12/2023 in #help
✅ need quick help how to print 2 decimals
or Console.WriteLine(string.Format("{0:f2}", arr[i]));
9 replies
CC#
Created by Fallzy on 12/12/2023 in #help
✅ VS not recognizing functions
if you are using VS of course
15 replies
CC#
Created by Fallzy on 12/12/2023 in #help
✅ VS not recognizing functions
Also, you could try (but I think it should install by default) installing nuget package "Visual Studio tools for Unity"
15 replies
CC#
Created by Fallzy on 12/12/2023 in #help
✅ VS not recognizing functions
It's also good to use Unity Hub
15 replies
CC#
Created by Fallzy on 12/12/2023 in #help
✅ VS not recognizing functions
sometimes just closing and opening up unity will fix some issues...
15 replies
CC#
Created by Fallzy on 12/12/2023 in #help
✅ VS not recognizing functions
Also, you could try deleting .vs folder from the project's folder so the files will rebuild (they are hidden by default)
15 replies
CC#
Created by Fallzy on 12/12/2023 in #help
✅ VS not recognizing functions
No description
15 replies
CC#
Created by Fallzy on 12/12/2023 in #help
✅ VS not recognizing functions
Also you can check if you have the right IDE set up
15 replies
CC#
Created by Fallzy on 12/12/2023 in #help
✅ VS not recognizing functions
No description
15 replies
CC#
Created by Fallzy on 12/12/2023 in #help
✅ VS not recognizing functions
It's also worth using stable version of Unity, maybe by mistake - you've downloaded newest one (which are often in experimental phase) instead of some stable previous version, especially if you are new to Unity
15 replies
CC#
Created by Fallzy on 12/12/2023 in #help
✅ VS not recognizing functions
Inside Unity editor, try going into Edit->Preferences->External Tools and click on "Regenerate project files" button, see if that helps
15 replies