#there you go

1 messages · Page 1 of 1 (latest)

chilly vine
#

:)

river sigil
#

Cool. This is new... haha

#

Didn't know discord could do this

chilly vine
#

It's been a while here now really

river sigil
#

fairs haha

#

but anyway, I tried using breakpoints (i think) and I can't see it changing at all

chilly vine
#

Did you press 'Attach to unity'

river sigil
#

Got one here, like I say, I've never used on in unity, so no

#

Wheres that option?

chilly vine
#

top middle

river sigil
#

Top middle?

chilly vine
#

Unless it's visual code in which case no idea

river sigil
#

Yeah, it's visual code

chilly vine
#

Why not Visual Studio :p

river sigil
#

wait... it's Visual Studio Code haha

chilly vine
#

Visual Studio Code != Visual Studio

#

This is Visual Studio

gray wasp
#

VSC is blue

chilly vine
#

^

river sigil
#

The Udemy course told me to specifically use VSC over VS. Not sure why

chilly vine
#

🤔

gray wasp
#

both are good

chilly vine
#

I don't know if it's integrated with Unity to trigger breakpoints, I'm afraid you're going to have to google :P

chilly vine
#

Since it shows conflicts better imo

#

Also github doesn't change default so ¯_(ツ)_/¯

gray wasp
#

I use VS for C# And then VSC for Python and C++

#

I do javaScript in noteblock

river sigil
#

Either way, I can't figure out why it's not working

#

I'll show all my code

gray wasp
river sigil
#

Driver.cs

chilly vine
#

So figure out how that works

#

Essential for debugging

river sigil
#

hmmm

#

I tried enabling debugger in unity, but that didn't work

#

Urgh, this is the part I hate about learning new languages

#

This works in an alternative Method

#

@chilly vine how can it work in Delivery.cs (above), but not Driver.cs??

#

I notice that VSC is colouring the commands differently too

chilly vine
#

I just use VS so ¯_(ツ)_/¯

river sigil
#

Any idea why it would have shaded differently?

chilly vine
#

¯_(ツ)_/¯

river sigil
#

ffs. np

#

this is a pain

chilly vine
#

Welcome to coding chap

river sigil
#

haha. I know

#

Going for jr dev at work and I wanna make this work before my interview tomorrow

#

ok, see if you know this @chilly vine

chilly vine
#

yes

river sigil
#

What does the "0 References" mean

chilly vine
#

wait

#

bruh

#

;-;

river sigil
#

it isn't coming up on my Method that's working

#

???

chilly vine
#

you make a local float of moveSpeed

#

remove float

#

in front of it

chilly vine
chilly vine
river sigil
#

bro.... that's done it

chilly vine
#

yes lmfao

#

sorry I didn't see it earlier

#

Also quite odd nobody else saw it

chilly vine
river sigil
#

haahaha all good 😂

#

yeah, i do, it thought I was creating a new variable

#

not reassigning a value to an existing variable

#

thank you!