From 43a7c02e033711cc591c27d3884e0959c370efdb Mon Sep 17 00:00:00 2001 From: Alee Date: Tue, 4 Jun 2019 17:14:09 -0400 Subject: Added GitHub asset --- Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs (limited to 'Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs') diff --git a/Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs b/Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs new file mode 100644 index 0000000..d034a91 --- /dev/null +++ b/Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs @@ -0,0 +1,20 @@ +using UnityEditor; +using UnityEngine; +using System.IO; +using System; + +namespace GitHub.Unity +{ + [InitializeOnLoad] + public class UnityAPIWrapper : ScriptableSingleton + { + static UnityAPIWrapper() + { +#if UNITY_2018_2_OR_NEWER + Editor.finishedDefaultHeaderGUI += editor => { + UnityShim.Raise_Editor_finishedDefaultHeaderGUI(editor); + }; +#endif + } + } +} \ No newline at end of file -- cgit v1.2.3