コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }