リポジトリ
使用例
using Kogane; using UnityEditor; public class Example { private static readonly EditorDialog m_editorDialog = new EditorDialog( "【ここにタイトル】" ); [MenuItem( "Tools/Hoge" )] private static void Hoge() { // OK ダイアログを開く m_editorDialog.OpenOk( "【ここにメッセージ】" ); // はい・いいえダイアログを開く var isYes = m_editorDialog.OpenYesNo( "【ここにメッセージ】" ); } }