Files
Studio/Assets/Editor/TriLibCore/Scripts/TriLibSplashScreen.cs
2025-02-19 17:24:26 +09:00

23 lines
568 B
C#

using UnityEditor;
using UnityEngine;
namespace TriLibCore.Editor
{
[InitializeOnLoad]
public class TriLibSplashScreen
{
static TriLibSplashScreen()
{
EditorApplication.update += Update;
}
private static void Update()
{
EditorApplication.update -= Update;
if (!EditorApplication.isPlayingOrWillChangePlaymode && !EditorPrefs.GetBool(TriLibVersionInfo.Instance.SkipVersionInfoKey))
{
TriLibVersionNotes.ShowWindow();
}
}
}
}