C
C#โ€ข6mo ago
amin_playz12.

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
No description
32 Replies
SparkyCracked
SparkyCrackedโ€ข6mo ago
I am not fimiliar with unity but are you sure it isn't void not viod
sashimiman
sashimimanโ€ข6mo ago
it is void
SparkyCracked
SparkyCrackedโ€ข6mo ago
huhh, fair enough
sashimiman
sashimimanโ€ข6mo ago
but, why does your visual studio doesnt detect it
amin_playz12.
amin_playz12.OPโ€ข6mo ago
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...
SparkyCracked
SparkyCrackedโ€ข6mo ago
Nice. Goodluck with your game!
sashimiman
sashimimanโ€ข6mo ago
AND Collision, you misspelled it
amin_playz12.
amin_playz12.OPโ€ข6mo ago
with class
sashimiman
sashimimanโ€ข6mo ago
Collisoion > Collision try update your visual studio, it should detect these errors
amin_playz12.
amin_playz12.OPโ€ข6mo ago
it the name of claa
SparkyCracked
SparkyCrackedโ€ข6mo ago
He is already a good programmer. Programmers can't spell half the time :catlaugh: I saw that ๐Ÿ˜‚
sashimiman
sashimimanโ€ข6mo ago
oh xd
amin_playz12.
amin_playz12.OPโ€ข6mo ago
how to update it
sashimiman
sashimimanโ€ข6mo ago
ยฏ\_(ใƒ„)_/ยฏ idk google it
amin_playz12.
amin_playz12.OPโ€ข6mo ago
ok
sashimiman
sashimimanโ€ข6mo ago
and yes its the name of the class but in the void it should be Collision not your class
SparkyCracked
SparkyCrackedโ€ข6mo ago
$close when you done :catpat:
MODiX
MODiXโ€ข6mo ago
If you have no further questions, please use /close to mark the forum thread as answered
amin_playz12.
amin_playz12.OPโ€ข6mo ago
but it said that it is up to dated
sashimiman
sashimimanโ€ข6mo ago
your visual studio isnt attached to unity
SG97
SG97โ€ข6mo ago
updating VS does not do anything
sashimiman
sashimimanโ€ข6mo ago
watch a yourube video on how to attach your visual studio to Unity
SG97
SG97โ€ข6mo ago
or just like check the link
sashimiman
sashimimanโ€ข6mo ago
oops didnt see yes the link explains everything sry
amin_playz12.
amin_playz12.OPโ€ข6mo ago
after attaching VS to unity the interface totally changed
Buddy
Buddyโ€ข6mo ago
$unitybug
MODiX
MODiXโ€ข6mo ago
If intellisense is not working for Rider / Visual Studio, follow these steps.
Go into Unity Editor -> Preferences -> External Tools -> Set Visual Studio (or JetBrains Rider) as your preferred editor.
Go into Unity Editor -> Preferences -> External Tools -> Set Visual Studio (or JetBrains Rider) as your preferred editor.
Close the editor and re-open it again by double-clicking a script file.
Buddy
Buddyโ€ข6mo ago
Follow this
amin_playz12.
amin_playz12.OPโ€ข6mo ago
but the error is still thanx to all of you
sashimiman
sashimimanโ€ข6mo ago
yes this won't fix your error but now visual studio will detect the spelling/synntax errors
amin_playz12.
amin_playz12.OPโ€ข6mo ago
now the error is fix thanx alot
Want results from more Discord servers?
Add your server