using System; using System.Collections.Generic; using UnityEditor.AddressableAssets.GUI.Adapters; using UnityEngine; namespace UnityEditor.AddressableAssets.GUI { /// /// Serializable state container for the Addressable Asset Entry TreeView. /// Extends to include column widths and sort order configuration. /// [Serializable] public class AddressableAssetEntryTreeViewState : TreeViewStateAdapter { /// /// The widths of each column in the tree view. Indices correspond to column order in the UI. /// [SerializeField] public float[] columnWidths; /// /// The legacy sort order configuration. Use instead. /// /// /// This field is retained for backward compatibility and migration purposes. /// [SerializeField] [Obsolete("Use sortOrderList instead.")] public String[] sortOrder; /// /// The current sort order configuration as a list of column identifiers or keys. /// The first entry represents the primary sort, followed by secondary sorts. /// [SerializeField] public List sortOrderList = new List(); } }