示例#1
0
        private void DrawExcludeListHeader(Rect rect)
        {
            rect.y += 1;
            rect    = EditorGUIUtil.DrawReorderableListHeaderIndex(rect);
            float width   = Mathf.Min(200, rect.width);
            float residue = rect.width - width;

            EditorGUI.LabelField(new Rect(rect.x, rect.y, width + residue - space, lineHeight), "资源路径(非目录)");
        }
示例#2
0
 private void DrawSceneListHeader(Rect rect)
 {
     rect.y += 1;
     rect    = EditorGUIUtil.DrawReorderableListHeaderIndex(rect);
     float[] widths = GetOtherListColumnWidth(rect);
     EditorGUI.LabelField(new Rect(rect.x, rect.y, widths[0] - space, lineHeight), "路径");
     rect.x += widths[0];
     EditorGUI.LabelField(new Rect(rect.x, rect.y, widths[1] - space, lineHeight), "忽略");
 }
示例#3
0
        private void DrawDirListHeader(Rect rect)
        {
            rect.y += 1;
            rect    = EditorGUIUtil.DrawReorderableListHeaderIndex(rect);

            float[] widths = GetDirListColumnWidth(rect);

            EditorGUI.LabelField(new Rect(rect.x, rect.y, widths[0] - space, lineHeight), "路径");
            rect.x += widths[0];
            EditorGUI.LabelField(new Rect(rect.x, rect.y, widths[1] - space, lineHeight), "文件后缀");
            rect.x += widths[1];
            EditorGUI.LabelField(new Rect(rect.x, rect.y, widths[2] - space, lineHeight), "打包方案");
            rect.x += widths[2];
            EditorGUI.LabelField(new Rect(rect.x, rect.y, widths[3] - space, lineHeight), "引用要求");
            rect.x += widths[3];
            EditorGUI.LabelField(new Rect(rect.x, rect.y, widths[4] - space, lineHeight), "忽略");
        }