A silly bug of a noob :( I need help. error CS0117: "Debug" does not contain a definition for "log"
Publicado por Fermin (1 intervención) el 23/10/2019 01:45:01
Hi, I'm following a tutorial (a bit old) and I have a problem in the following script:
The version of my unity is 2018.4.11f1 (64-bit) and im following this tutorial:
I don't know if it's my mistake or if debug.log is no longer used like that.
1
2
3
4
5
6
7
8
9
10
11
using UnityEngine;
public class Player_Colosion : MonoBehaviour
{
void OnColissionEnter()
{
Debug.log ("We hit something");
}
}
The version of my unity is 2018.4.11f1 (64-bit) and im following this tutorial:
I don't know if it's my mistake or if debug.log is no longer used like that.
Valora esta pregunta


0