Exemple #1
0
        private void DrawCopyListHeader(Rect rect)
        {
            rect.y += 1;
            rect    = EZEditorGUIUtility.DrawReorderableListHeaderIndex(rect);
            float width = rect.width / 2;

            EditorGUI.LabelField(new Rect(rect.x, rect.y, width - space, lineHeight), "Destination");
            rect.x += width;
            EditorGUI.LabelField(new Rect(rect.x, rect.y, width - space, lineHeight), "Source");
        }
Exemple #2
0
        private void DrawBundleListHeader(Rect rect)
        {
            rect.y += 1;
            rect    = EZEditorGUIUtility.DrawReorderableListHeaderIndex(rect);
            float width = Mathf.Min(100, rect.width / 4); float residue = (rect.width - width * 4) / 10;

            EditorGUI.LabelField(new Rect(rect.x, rect.y, width + residue - space, lineHeight), "Bundle Name");
            rect.x += width + residue;
            EditorGUI.LabelField(new Rect(rect.x, rect.y, width + residue - space, lineHeight), "File Pattern");
            rect.x += width + residue;
            EditorGUI.LabelField(new Rect(rect.x, rect.y, width + residue - space, lineHeight), "Search Option");
            rect.x += width + residue;
            EditorGUI.LabelField(new Rect(rect.x, rect.y, width + residue * 7 - space, lineHeight), "Source");
        }