以下の内容はhttps://baba-s.hatenablog.com/entry/2023/01/07/135627より取得しました。


【Unity】Debug.developerConsoleVisible

概要

using System;
using UnityEngine;

public class Example : MonoBehaviour
{
    private void Start()
    {
        Debug.LogError( "ピカチュウ" );
        throw new Exception( "ピカチュウ" );
    }

    private void Update()
    {
        if ( Input.GetKeyDown( KeyCode.Z ) )
        {
            Debug.developerConsoleVisible = true;
        }

        if ( Input.GetKeyDown( KeyCode.X ) )
        {
            Debug.developerConsoleVisible = false;
        }
    }
}

Debug.developerConsoleVisible を使用すると
画面左下に表示される「Development Console」の表示を切り替えられる




以上の内容はhttps://baba-s.hatenablog.com/entry/2023/01/07/135627より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14