using System.Collections.Generic; using Rukhanka.Toolbox; using Unity.Entities; using Unity.Mathematics; using UnityEditor; using UnityEngine; using UnityEngine.UIElements; ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// namespace Rukhanka.Editor { public class AnimatorClipBlobInfoWindow : EditorWindow { [SerializeField] private VisualTreeAsset visualTreeAsset = default; [SerializeField] private VisualTreeAsset trackGroupBlobInfoAsset = default; [SerializeField] private VisualTreeAsset trackBlobInfoAsset = default; [SerializeField] private VisualTreeAsset animationEventInfoAsset = default; [SerializeField] private VisualTreeAsset entityRefAsset = default; internal static BlobInspector.BlobAssetInfo animationClipBlob; ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public void CreateGUI() { var root = rootVisualElement; var doc = visualTreeAsset.Instantiate(); root.Add(doc); titleContent = new GUIContent("Rukhanka.Animation Clip Blob Info"); FillBlobInfo(); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// unsafe void FillBlobInfo() { ref var b = ref animationClipBlob.blobAsset.Value; var hashLabel = rootVisualElement.Q