Logging messages
Introduction
Logging
using qASIC;
using qASIC.Console;
using UnityEngine;
public class ExampleScript : MonoBehaviour
{
public void LogExample()
{
//Logging with the controller
GameConsoleController.Log("This is an example using the controller", "example color");
//Logging with qDebug
qDebug.Log("This is a normal message", "color is optional");
qDebug.LogWarning("This is a warning message");
qDebug.LogError("This is an error message");
}
}Logging in commands
Last updated