public static string[] ShowEditor(DebugEditor form, string[] names, DataType[] types, string[] values, bool isMap = false) { EditorWindow editor = new EditorWindow(names, types, values, isMap); editor.ShowDialog(); if (editor.save) { if (valueInHex) { editor.ConvertValues(false); } return(editor.values); } return(null); }
public static string[] ShowEditor(DebugEditor form, string[] lvalues) { EditorWindow editor = new EditorWindow(lvalues); editor.ShowDialog(); if (editor.save) { if (valueInHex) { editor.ConvertValues(false); } return(editor.values); } return(null); }