File tree Expand file tree Collapse file tree 2 files changed +2
-23
lines changed Expand file tree Collapse file tree 2 files changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public override string GetBuildPath()
63
63
. Replace ( "{yy}" , now . ToString ( "yy" ) )
64
64
. Replace ( "{MM}" , now . ToString ( "MM" ) )
65
65
. Replace ( "{dd}" , now . ToString ( "dd" ) )
66
- . Replace ( "{hh}" , now . ToString ( "hh " ) )
66
+ . Replace ( "{hh}" , now . ToString ( "HH " ) )
67
67
. Replace ( "{mm}" , now . ToString ( "mm" ) )
68
68
;
69
69
Original file line number Diff line number Diff line change 1
- using System ;
2
- using System . Collections . Generic ;
3
- using UnityEditor ;
4
1
using UnityEngine ;
5
2
6
3
namespace Unity_Builder
7
4
{
8
5
[ CreateAssetMenu ( fileName = "BuildConfigGroup" , menuName = GlobalConst . CreateAssetMenu_Prefix + "/BuildConfigGroup" ) ]
9
6
public class BuildConfigGroup : ScriptableObject
10
7
{
11
- public List < BuildConfig > configList = new List < BuildConfig > ( ) ;
12
8
}
13
-
14
- [ CustomEditor ( typeof ( BuildConfigGroup ) ) ]
15
- public class BuildConfigGroup_Inspector : Editor
16
- {
17
- string _commandLine ;
18
-
19
- public override void OnInspectorGUI ( )
20
- {
21
- base . OnInspectorGUI ( ) ;
22
-
23
- BuildConfigGroup configGroup = target as BuildConfigGroup ;
24
- if ( GUILayout . Button ( "All Build!" ) )
25
- {
26
- configGroup . configList . ForEach ( buildConfig => UnityBuilder . Build ( buildConfig ) ) ;
27
- }
28
- }
29
- }
30
- }
9
+ }
You can’t perform that action at this time.
0 commit comments