#It crashes and gives error so i just

1 messages · Page 1 of 1 (latest)

terse jasper
#

What error? Does the whole unity crash?

#

That's not a minor detail xD

unique sinew
unique sinew
terse jasper
#

This is very confusing
The error is from a "pour2.cs" but what we're seeing on the right side is "Pour (Mono Script)" with a class name of "PourAnimation1"
script name and class name must always match

unique sinew
#

hmm

unique sinew
#

@terse jasper ye i think its best for me to just redo it from the start since i used a script from a video online and i assume it doesnt work so i will need to redo all from scratch is there any way u can teach me or show me an example?

terse jasper
unique sinew
terse jasper
unique sinew
#

was very few

#

and this was a group project and the team leader picked a drink type game so this is like a main point

terse jasper
unique sinew
#

let me get the open the project again

terse jasper
#

If you don't have a basic understanding of how scripts are made and used in unity, swapping from one tutorial to another isn't going to solve that

unique sinew
#

its just desperate time called for desperate measure so if one didnt work i had to go for another

terse jasper
#

Line endings are just a file format thing, the code isn't different in any way

#

This script looks much more complex than the one you started with

unique sinew
#

ye this one have the pour detector as well as the stream

#

this was wat i was following i understood the explaination and wat each code does but still have error

terse jasper
#

The first script was one line of code and a particle system
If the particle system works, then it stands to reason that would be the least complex problem to fix

#

So far you have not actually shown the errors or even described what's not working so there's genuinely nothing me or anyone can do to help

unique sinew
terse jasper
#

If this code is copied 1:1 it isn't copied right because there's a syntax error somewhere

#

Normally you'd first configure your IDE for unity so it would directly tell you where the errors are

unique sinew
#

how can i do tat?

terse jasper