❔ Something is wrong here but idk (UNITY)

So I am following a tutorial but apparently there is something wrong in this code and I don't know what is wrong
how do you know something is wrong? Aside from the missing brace
Seems VS wasn't set up properly to work with Unity. There's no solution explorer, and the green arrow button says "attach" not start or debug
you're not setting the rigidbody
I got it to work its okay
If intellisense is not working for VSCode / Visual Studio, follow these steps.
Go into Unity Editor -> Preferences -> External Tools -> Set Visual Studio (or Visual Studio Code) as your preferred editor.
Go into Unity Editor -> Preferences -> External Tools -> Set Visual Studio (or Visual Studio Code) as your preferred editor.
Close the editor and re-open it again by double-clicking a script file.
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
❔ ✅ Semi-Random-GeneratorSo I'm trying to generate a list for scheduling people to a task. What I intend is to generate the l✅ Collection appears to be null, even though it's not null on DBI think the pictures already show the problem in more detail, there isn't much to it. User and Pers❔ Using C# and SQLite, I'm inputting a formatted date, and it's writing tot the database as a sumA strange one, to be sure. I'm inputting something like '2022-01-13', and it's writing '2008'. Wou❔ What is the difference between string pool and intern pool?In the Windows Community Toolkit's high performance library, there is a string pool. What makes this✅ Exception is caught, but not?I have this piece of code ``` try { await _dbContext.RunningTotals.AddA❔ For loops, for this project.This Project needs me to create a table with a loop of data for the input altitude. Where I'm havingvoid and returnFor starters I still don't undersatnd basically everything so sorry for being stupid Do you always h❔ Handling of objects which correspond to a given rule by editing again.**The situation:** The user can create objects in a list via the UI. If there are already one or mor✅ Set up SpecFlow Logging with 2 different projectsCurrently I am trying to do some logging while using the SpecFlow BDD framework. In my solutions I h❔ ✅ AddSingleton and AddDbConnection are not running whatsoeverI have this code ```cs services.AddSingleton<DbConnection>(_ => { SqliteConnectionStringBuilder ❔ cast parent to childHave a problem about inheritance. I have an interface that are shared between a net framework projec❔ Warn on VS consolehey, ik I'm new here but yesterday i was setting up VS Code for unity, i got the .net SDK and the C#❔ VB.NetHello I use VB.Net but need help but no one uses it. Is C# similar and can you guys help me❔ Help with linq queryI have a list of cutomers that gets grouped according to their addresss and data property. I would l❔ Help in questionHello I need help solving a question that says: i need to write a program that receives 4 points lik❔ Unity Asset Bundle ErrorWhen using my script I keep getting this error: ``tmp\PREFABROOT\Mesh\Body(Clone).mesh" has been a❔ Moving from Development to ProductionI want to be more secure in my .NET server application, atm my db connection string is just stored iStandard deviation calculation code not working as intendedHello! I am currently trying to code a button that will calculate the mean and standard deviation fr