Files
beyond/Assets/ThirdParty/PlayMaker/Editor/PlayMakerUpdater.cs
2024-11-20 15:21:28 +01:00

27 lines
698 B
C#

using HutongGames.PlayMakerEditor;
using UnityEditor;
[InitializeOnLoad]
public class PlayMakerUpdater
{
static PlayMakerUpdater()
{
// Delay until first update
// Otherwise process gets stomped on by other Unity initializations
// E.g., Unity loading last layout stomps on PlayMakerUpgradeGuide window.
EditorApplication.update += Update;
}
static void Update()
{
EditorApplication.update -= Update;
/*
var showUpgradeGuide = EditorPrefs.GetBool(EditorPrefStrings.ShowUpgradeGuide, true);
if (showUpgradeGuide)
{
EditorWindow.GetWindow<PlayMakerUpgradeGuide>(true);
}*/
}
}