init project

This commit is contained in:
2026-02-16 14:02:58 +01:00
parent 0a3f464e9d
commit 9528038aaa
14854 changed files with 930822 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
using UnityEditor;
using UnityEngine;
using Unity.PlasticSCM.Editor.UI;
namespace Unity.PlasticSCM.Editor.AssetUtils
{
internal static class RepaintEditor
{
internal static void InspectorWindow()
{
UnityEditor.Editor[] editors =
Resources.FindObjectsOfTypeAll<UnityEditor.Editor>();
foreach (UnityEditor.Editor editor in editors)
editor.Repaint();
}
internal static void ProjectWindow()
{
EditorWindow projectWindow = FindEditorWindow.ProjectWindow();
if (projectWindow == null)
return;
projectWindow.Repaint();
}
internal static void HierarchyWindow()
{
EditorApplication.RepaintHierarchyWindow();
}
internal static void AllWindowsWithOverlays()
{
InspectorWindow();
ProjectWindow();
HierarchyWindow();
}
}
}