Answers for "when assert logs in unity"

C#
32

unity log

// To print in the console use "Debug.Log()"
Debug.Log("Text");
Posted by: Guest on February-22-2020
0

unity error log

using UnityEngine;

public class MyGameClass : MonoBehaviour
{

    void MyGameMethod()
    {
            Debug.LogError("error message");
            Debug.Log("message");
    }
}
Posted by: Guest on February-23-2021

C# Answers by Framework

Browse Popular Code Answers by Language