UnityEditor.ASUpdateConflictResolveWindow.DoSelectionChange C# (CSharp) Method

DoSelectionChange() private method

private DoSelectionChange ( ) : void
return void
        private void DoSelectionChange()
        {
            HierarchyProperty property = new HierarchyProperty(HierarchyType.Assets);
            List<string> list = new List<string>(Selection.objects.Length);
            foreach (Object obj2 in Selection.objects)
            {
                if (property.Find(obj2.GetInstanceID(), null))
                {
                    list.Add(property.guid);
                }
            }
            for (int i = 0; i < this.downloadConflicts.Length; i++)
            {
                this.selectedLV1Items[i] = list.Contains(this.downloadConflicts[i]);
            }
            for (int j = 0; j < this.nameConflicts.Length; j++)
            {
                this.selectedLV2Items[j] = list.Contains(this.nameConflicts[j]);
            }
            this.lv1HasSelection = this.HasTrue(ref this.selectedLV1Items);
            this.lv2HasSelection = this.HasTrue(ref this.selectedLV2Items);
            this.enableMergeButton = this.AtLeastOneSelectedAssetCanBeMerged();
        }