// Copyright (c) 2025 TerraByte Inc. // // This script hooks into Unity's asset pipeline to automatically // trigger a refresh of the Better Git window when assets change. using UnityEditor; using UnityEngine.Scripting; namespace Terra.Arbitrator.GUI { [Preserve] public class GitAssetPostprocessor : AssetPostprocessor { private static void OnPostprocessAllAssets(string[] _, string[] __, string[] ___, string[] ____) { var window = ArbitratorWindow.Instance; if (window != null) { window.TriggerAutoRefresh(); } } } }