コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】エディタ拡張で Editor.log を開く方法

概要

using UnityEditor;
using UnityEditorInternal;

public class Example
{
    [MenuItem( "Tools/Hoge" )]
    private static void Hoge()
    {
        InternalEditorUtility.OpenEditorConsole();
    }
}