hello can any one help me i have a problem on collision
This post is for open discussion and questions.
hello can any one help me i have a problem on collision in unty
this error is coming
assets\collision.cs(20,36): error cs1002: ; expected
or
assets\collision.cs(6,5): error cs0246: the type or namespace name 'viod' could not be found (are you missing a using directive or an assembly reference?)
please help me
32 Replies
I am not fimiliar with unity but are you sure it isn't
void
not viodit is void
huhh, fair enough
but, why does your visual studio doesnt detect it
yes it is void https://youtu.be/gAB64vfbrhI?si=LlW2DAQcIdp_LNcU
Brackeys
YouTube
How to make a Video Game in Unity - COLLISION (E05)
What happens when stuff collides? Let's take a look!
โ Download the Project Files: http://devassets.com/assets/how-to-make-a-video-game/
โค๏ธ Donate: https://www.paypal.com/donate/?hosted_button_id=VCMM2PLRRX8GU
ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท
This video is part of a mini-series on making yo...
Nice. Goodluck with your game!
AND Collision, you misspelled it
with class
Collisoion > Collision
try update your visual studio, it should detect these errors
it the name of claa
He is already a good programmer. Programmers can't spell half the time :catlaugh:
I saw that ๐
oh xd
how to update it
ยฏ\_(ใ)_/ยฏ
idk google it
ok
and yes its the name of the class but in the void it should be Collision not your class
$close when you done :catpat:
If you have no further questions, please use /close to mark the forum thread as answered
but it said that it is up to dated
your visual studio isnt attached to unity
updating VS does not do anything
watch a yourube video on how to attach your visual studio to Unity
or just like check the link
oops didnt see
yes the link explains everything sry
after attaching VS to unity the interface totally changed
$unitybug
If intellisense is not working for Rider / Visual Studio, follow these steps.
Close the editor and re-open it again by double-clicking a script file.
Follow this
but
the error is still
thanx
to all of you
yes this won't fix your error but now visual studio will detect the spelling/synntax errors
now the error is fix
thanx alot