First commit
This commit is contained in:
20
Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs
Normal file
20
Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user