유니티 상당 바에 tools 추가 using System.Collections;using System.Collections.Generic;using UnityEngine;#if UNITY_EDITORusing UnityEditor;#endif public class MapEditor{#if UNITY_EDITOR [MenuItem("Tools/GenerateMap")] private static void HelloWorld() { if (EditorUtility.DisplayDialog("Hello World", "Create?", "Create", "Cancel")) { new GameObject("Hello Wolrd"); } ..