File tree 7 files changed +38
-33
lines changed
7 files changed +38
-33
lines changed Original file line number Diff line number Diff line change 1
- [Ll ]ibrary /
2
- [Tt ]emp /
3
- [Oo ]bj /
4
- [Bb ]uild /
5
- [Ll ]og /
1
+ /[Ll ]ibrary /
2
+ /[Tt ]emp /
3
+ /[Oo ]bj /
4
+ /[Bb ]uild /
5
+ /[Bb ]uilds /
6
+ /Assets /AssetStoreTools *
6
7
7
- UnityVS /
8
- UnityVS.meta
9
- UnityVS.Aries.sln.DotSettings
10
-
11
- # Autogenerated VS/MD solution and project files
8
+ # Visual Studio 2015 cache directory
9
+ /.vs /
10
+
11
+ # Autogenerated VS/MD/Consulo solution and project files
12
+ ExportedObj /
13
+ .consulo /
12
14
* .csproj
13
15
* .unityproj
14
16
* .sln
15
17
* .suo
18
+ * .tmp
16
19
* .user
17
20
* .userprefs
18
21
* .pidb
19
22
* .booproj
20
-
21
- # Unity3D Generated File On Crash Reports
23
+ * .svd
24
+ * .pdb
25
+
26
+ # Unity3D generated meta files
27
+ * .pidb.meta
28
+
29
+ # Unity3D Generated File On Crash Reports
22
30
sysinfo.txt
23
31
24
- * .log
25
- .DS_Store
32
+ # Builds
33
+ * .apk
34
+ * .unitypackage
Original file line number Diff line number Diff line change 1
- using System . Collections ;
2
- using System . Collections . Generic ;
1
+ using System . Collections . Generic ;
3
2
using System . Linq ;
4
- using System ;
5
3
using UnityEngine ;
6
4
7
5
namespace a3geek . PhysicsLayers
8
6
{
9
7
using Common ;
10
- using Layers . Abstracts ;
11
8
using Components ;
12
9
using Components . InternalManagements ;
13
-
10
+
14
11
[ DisallowMultipleComponent ]
12
+ [ DefaultExecutionOrder ( - 3200 ) ]
15
13
[ AddComponentMenu ( "a3geek/Physics Layers/Layers Manager" ) ]
16
14
public sealed partial class LayersManager : MonoBehaviour
17
15
{
@@ -93,22 +91,16 @@ public string[] UnityLayerNames
93
91
94
92
private CollisionInfosSetter collisionInfosSetter = null ;
95
93
private IntervalExecutor compactionExecutor = null ;
94
+
96
95
97
-
98
- [ RuntimeInitializeOnLoadMethod ( RuntimeInitializeLoadType . BeforeSceneLoad ) ]
99
- private static void Initialize ( )
96
+ private void Awake ( )
100
97
{
101
- var ins = Instance ;
102
- if ( ins == null )
103
- {
104
- return ;
105
- }
106
- DontDestroyOnLoad ( ins . gameObject ) ;
98
+ DontDestroyOnLoad ( gameObject ) ;
107
99
108
- ins . compactionExecutor = new IntervalExecutor ( ins . compactionInterval ) ;
100
+ this . compactionExecutor = new IntervalExecutor ( this . compactionInterval ) ;
109
101
110
- ins . AllLayerInfos . Initialize ( ) ;
111
- ins . collisionInfosSetter = new CollisionInfosSetter ( ins ) ;
102
+ this . AllLayerInfos . Initialize ( ) ;
103
+ this . collisionInfosSetter = new CollisionInfosSetter ( this ) ;
112
104
}
113
105
114
106
private void Update ( )
Original file line number Diff line number Diff line change 1
- 3.1.1
1
+ 3.2.0
Original file line number Diff line number Diff line change 1
- m_EditorVersion: 5.6.3f1
1
+ m_EditorVersion: 2017.2.0f3
Original file line number Diff line number Diff line change
1
+ {
2
+ "dependencies" : {
3
+ }
4
+ }
You can’t perform that action at this time.
0 commit comments