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

20 lines
436 B
C#
Raw Permalink Normal View History

2021-01-29 19:24:24 +00:00
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
}
}
}