diff options
| author | Alee <Alee14498@gmail.com> | 2019-06-04 17:14:09 -0400 |
|---|---|---|
| committer | Alee <Alee14498@gmail.com> | 2019-06-04 17:14:09 -0400 |
| commit | 43a7c02e033711cc591c27d3884e0959c370efdb (patch) | |
| tree | b095f6f7a23d4f2d73c56cf6a760176319262d88 /Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs | |
| parent | fd43b7e08a54c2ce0e7995dc70aad00437e8ce87 (diff) | |
| download | Unicity-43a7c02e033711cc591c27d3884e0959c370efdb.tar.gz Unicity-43a7c02e033711cc591c27d3884e0959c370efdb.tar.bz2 Unicity-43a7c02e033711cc591c27d3884e0959c370efdb.zip | |
Added GitHub asset
Diffstat (limited to 'Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs')
| -rw-r--r-- | Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs | 20 |
1 files changed, 20 insertions, 0 deletions
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<UnityAPIWrapper> + { + static UnityAPIWrapper() + { +#if UNITY_2018_2_OR_NEWER + Editor.finishedDefaultHeaderGUI += editor => { + UnityShim.Raise_Editor_finishedDefaultHeaderGUI(editor); + }; +#endif + } + } +}
\ No newline at end of file |
