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 ;
31using UnityEngine ;
4- using System . Linq ;
5- using UnityEngine . SceneManagement ;
6- using UnityEditor . SceneManagement ;
72using UnityEditor ;
83using InternalRealtimeCSG ;
9- using System . Reflection ;
10- using UnityEngine . Rendering ;
11- using System . Runtime . InteropServices ;
124
135namespace RealtimeCSG
146{
@@ -20,6 +12,9 @@ internal partial class InternalCSGModelManager
2012 internal static NativeMethods External ;
2113
2214 #region Clear
15+ #if UNITY_2019_4_OR_NEWER
16+ [ RuntimeInitializeOnLoadMethod ( RuntimeInitializeLoadType . SubsystemRegistration ) ]
17+ #endif
2318 public static void Clear ( )
2419 {
2520 BrushOutlineManager . ClearOutlines ( ) ;
You can’t perform that action at this time.
0 commit comments