File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Plugins/Editor/Scripts/Control/Managers Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 1
- using System ;
2
- using System . Collections . Generic ;
3
1
using UnityEngine ;
4
- using System . Linq ;
5
- using UnityEngine . SceneManagement ;
6
- using UnityEditor . SceneManagement ;
7
2
using UnityEditor ;
8
3
using InternalRealtimeCSG ;
9
- using System . Reflection ;
10
- using UnityEngine . Rendering ;
11
- using System . Runtime . InteropServices ;
12
4
13
5
namespace RealtimeCSG
14
6
{
@@ -20,6 +12,9 @@ internal partial class InternalCSGModelManager
20
12
internal static NativeMethods External ;
21
13
22
14
#region Clear
15
+ #if UNITY_2019_4_OR_NEWER
16
+ [ RuntimeInitializeOnLoadMethod ( RuntimeInitializeLoadType . SubsystemRegistration ) ]
17
+ #endif
23
18
public static void Clear ( )
24
19
{
25
20
BrushOutlineManager . ClearOutlines ( ) ;
You can’t perform that action at this time.
0 commit comments