M
M
Mr.Domosed2021-07-26 13:39:51
Unity
Mr.Domosed, 2021-07-26 13:39:51

Why doesn't Debug.Log() work?

Downloaded unity without vs, but downloaded code with plugins. I tried to make a helloworld, something does not work.
Here is the code:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HelloUnity : MonoBehaviour
{
       void Start()
    {
        Debug.Log("Hello, Unity!");
    }
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2021-07-26
@Mr0Domosed

Well, for example, you did not hang a monobeh on a gameobject. Or gameobject is disabled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question