Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CSVファイルをエクスポートするEditor拡張の準備
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
You can’t perform that action at this time.