Oof, I feel pretty dumb already but I can’t get my script to output any text to the console. No matter what I type in my C# window, nothing comes up in the console.
Here is my C# code. Yes I know that it is not in markdown format, but I am trying to figure out one thing at a time right now:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NumberWizard : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Debug.Log(“Welcome to Number Wizard, yo”);
}
// Update is called once per frame
void Update()
{
}
Never overlook the obvious, I keep finding myself spending hours trying to figure out why my games aren’t working only to discover I didn’t save the script(s)
@tropicallazerbeams Try putting your commands into your update function the start function is called once soon as the script is called and the update function is called once per frame.
In the screenshots my console window is on the right hand side since that is what the teacher advised in the video. I moved it back to the bottom cluster of windows too, but that didn’t solve my problem.
Okay this wasnt the answer but it gave me a hint as to what it was. I had my console window in the upper right hand cluster as the instructor advised, and nothing was happening. Then when I put my commands in the update function, I noticed that a little number was moving in the console window. Apparently, all output from the console had been suppressed until I clicked to activate the console messages, warnings, alerts, etc.