Console not working
Hi everyone, I am very vary new in Unity, trying to learn coding, and i am using JavaScript. Well I am facing one problem with the console! it’s not showing output, like normal print(); things, I just wrote one small test code by using Notepad++. Here is the code using JavaScript.
Function update (){
Var ammoBox= 10;
Print(ammoBox);
}
But after hit the run button it’s not showing anything, don’t know where the problem is! I am not sure that whether any graphic card or driver problem? Or something els. It will be really nice if someone tell me that what do from here or how I will fix this problem..
Answer by Jessespike · Nov 24, 2015 at 07:56 PM
There are errors in the code, so the script will not compile and run. Watch your spelling, code is case-sensitive. You should be able to see the errors at least. If not, make sure the console filter buttons are enabled.
function Update ()
{
var ammoBox = 10;
print(ammoBox);
}
Your answer
Follow this Question
Related Questions
Console Debug / Print do not show 2 Answers
Problems in Admob Script 0 Answers
Console issue 0 Answers
Why are my float rounding themselves out to the lowest int without me coding it out? 1 Answer
[HELP] No info shows up in the console! 0 Answers