UnityAPIWrapper.cs (436B)
1 using UnityEditor; 2 using UnityEngine; 3 using System.IO; 4 using System; 5 6 namespace GitHub.Unity 7 { 8 [InitializeOnLoad] 9 public class UnityAPIWrapper : ScriptableSingleton<UnityAPIWrapper> 10 { 11 static UnityAPIWrapper() 12 { 13 #if UNITY_2018_2_OR_NEWER 14 Editor.finishedDefaultHeaderGUI += editor => { 15 UnityShim.Raise_Editor_finishedDefaultHeaderGUI(editor); 16 }; 17 #endif 18 } 19 } 20 }