public override void OnInspectorGUI() { if (atom == null) { return; } atom.acfFile = EditorGUILayout.TextField("ACF File", atom.acfFile); atom.dspBusSetting = EditorGUILayout.TextField("DSP Bus Setting", atom.dspBusSetting); for (int i = 0; i < atom.cueSheets.Length; i++) { var cueSheet = atom.cueSheets[i]; EditorGUILayout.BeginHorizontal("Label"); GUILayout.Label("Cue Sheet"); //GUILayout.Label("(" + cueSheet.name + ")"); //cueSheet.name = GUILayout.TextField(cueSheet.name, ); if (GUILayout.Button("Remove")) { atom.RemoveCueSheetInternal(cueSheet.name); break; } EditorGUILayout.EndHorizontal(); EditorGUI.indentLevel++; cueSheet.name = EditorGUILayout.TextField("Name", cueSheet.name); cueSheet.acbFile = EditorGUILayout.TextField("ACB File", cueSheet.acbFile); cueSheet.awbFile = EditorGUILayout.TextField("AWB File", cueSheet.awbFile); EditorGUI.indentLevel--; } if (GUILayout.Button("Add CueSheet")) { atom.AddCueSheetInternal("", "", "", null); } atom.dontDestroyOnLoad = EditorGUILayout.Toggle("Dont Destroy On Load", atom.dontDestroyOnLoad); }