GlobalGameJam-2021/Assets/Plugins/GitHub/Editor/UnityAPIWrapper.cs

20 lines
436 B
C#

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
}
}
}