The following doesn’t seem to work…?
trace(“helloworld”);
The following doesn’t seem to work…?
trace(“helloworld”);
Try Debug.Log.
Thank you, worked like a charm.
I do have another quick question though. I get the following error:
There are inconsistent line endings in the ‘Assets/Main.cs’ script. Some are Mac OS X (UNIX) and some are Windows. This might lead to incorrect line numbers in stacktraces and compiler errors. Unitron and other text editors can fix this using Convert Line Endings menu commands.
Whenever I edit the file in Visual Studio I get this error and was wondering if there is anyway to get rid of this warning?
the unity script editors normally have a function to “unify” the line endings so all are consistent again.
Generally the answer to that is: don’t mix two editors, do all in one editor
Ah… got it.
Thank you!
For your Debug.Log question, this also works for simple feedback:
print ("Something!")