#if UNITY_EDITOR using System.Linq; using UnityEditor; namespace Crosstales.FB.EditorTask { /// Show the configuration window on the first launch. public class Launch : AssetPostprocessor { public static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths) { if (importedAssets.Any(str => str.Contains(EditorUtil.EditorConstants.ASSET_UID.ToString()))) { Crosstales.Common.EditorTask.SetupResources.Setup(); SetupResources.Setup(); Crosstales.FB.EditorIntegration.ConfigWindow.ShowWindow(4); } } } } #endif // © 2019-2023 crosstales LLC (https://www.crosstales.com)