UnityEditor.ProjectBrowser.AssetLabelListCallback C# (CSharp) Méthode

AssetLabelListCallback() public méthode

public AssetLabelListCallback ( UnityEditor.PopupList element ) : void
element UnityEditor.PopupList
Résultat void
        public void AssetLabelListCallback(PopupList.ListElement element)
        {
            if (!Event.current.control)
            {
                foreach (PopupList.ListElement element2 in this.m_AssetLabels.m_ListElements)
                {
                    if (element2 != element)
                    {
                        element2.selected = false;
                    }
                }
            }
            element.selected = !element.selected;
            if (<>f__am$cache2 == null)
            {
                <>f__am$cache2 = new Func<PopupList.ListElement, bool>(null, (IntPtr) <AssetLabelListCallback>m__2);