Created
February 6, 2019 17:03
-
-
Save todorok1/ba099c9831fc451e16f554ca3f275d7b to your computer and use it in GitHub Desktop.
CSVファイルをエクスポートするEditor拡張の準備
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
[CustomEditor(typeof(CsvExporter))] | |
public class CsvExporterEditor : Editor { | |
public override void OnInspectorGUI(){ | |
DrawDefaultInspector(); | |
if (GUILayout.Button("敵データのエクスポート")){ | |
Debug.Log("敵データのエクスポートボタンが押された"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment