Question : debug.log unity
Answered by : comfortable-caterpillar-i6i9x3xhv978
Debug.Log("Hello, World");
Source : | Last Update : Sun, 17 May 20
Question : debug.log unity
Answered by : andreas-leonidou
using UnityEngine;
using System.Collections;
public class MyGameClass : MonoBehaviour
{ void Start() { Debug.Log("Logging Message to Console"); Debug.LogWarning("Logging Warning to Console"); Debug.LogError("Logging Error to Console"); }
}
Source : | Last Update : Thu, 19 May 22
Question : unity print vs debug log
Answered by : mandms05
In Unity C#, Debug.Log() and print() are functionally identical
print() is just a bit easier to remember than Debug.Log()
print() is inherited from the MonoBehavior class, so any project without
public class ExampleClass : MonoBehavior {}
will not be able to use print()
Source : | Last Update : Wed, 15 Jun 22