1234567891011121314151617181920 |
- #if UNITY_EDITOR
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEditor;
- [CustomEditor(typeof(GigActionDataFiller))]
- public class GigActionDataFillerEditor : Editor
- {
- public override void OnInspectorGUI()
- {
- base.OnInspectorGUI();
- if(GUILayout.Button("DO STUFF"))
- {
- GigActionDataFiller t = target as GigActionDataFiller;
- t.CopyFormTextToData();
- }
- }
- }
- #endif
|